/** * Sets a TaggedWord from decoding * the <code>String</code> passed in. The String is divided according * to the divider character (usually, "/"). We assume that we can * always just * divide on the rightmost divider character, rather than trying to * parse up escape sequences. If the divider character isn't found * in the word, then the whole string becomes the word, and the tag * is <code>null</code>. * * @param taggedWord The word that will go into the <code>Word</code> */ public void setFromString(String taggedWord) { setFromString(taggedWord, DIVIDER); }
/** * Sets a TaggedWord from decoding * the <code>String</code> passed in. The String is divided according * to the divider character (usually, "/"). We assume that we can * always just * divide on the rightmost divider character, rather than trying to * parse up escape sequences. If the divider character isn't found * in the word, then the whole string becomes the word, and the tag * is <code>null</code>. * * @param taggedWord The word that will go into the <code>Word</code> */ public void setFromString(String taggedWord) { setFromString(taggedWord, DIVIDER); }
/** * Sets a TaggedWord from decoding * the <code>String</code> passed in. The String is divided according * to the divider character (usually, "/"). We assume that we can * always just * divide on the rightmost divider character, rather than trying to * parse up escape sequences. If the divider character isn't found * in the word, then the whole string becomes the word, and the tag * is <code>null</code>. * * @param taggedWord The word that will go into the <code>Word</code> */ public void setFromString(String taggedWord) { setFromString(taggedWord, DIVIDER); }
/** * Sets a TaggedWord from decoding * the <code>String</code> passed in. The String is divided according * to the divider character (usually, "/"). We assume that we can * always just * divide on the rightmost divider character, rather than trying to * parse up escape sequences. If the divider character isn't found * in the word, then the whole string becomes the word, and the tag * is <code>null</code>. * * @param taggedWord The word that will go into the <code>Word</code> */ public void setFromString(String taggedWord) { setFromString(taggedWord, DIVIDER); }
/** * Sets a TaggedWord from decoding * the <code>String</code> passed in. The String is divided according * to the divider character (usually, "/"). We assume that we can * always just * divide on the rightmost divider character, rather than trying to * parse up escape sequences. If the divider character isn't found * in the word, then the whole string becomes the word, and the tag * is <code>null</code>. * * @param taggedWord The word that will go into the <code>Word</code> */ public void setFromString(String taggedWord) { setFromString(taggedWord, DIVIDER); }