public class BasicVocabulary extends AbstractVocabulary
The class can be called directly to support vocabulary operations
Copyright: Copyright (c) 2005
Company: IST, Drexel University
enable_adjterm_option, enable_coordinate_option, enable_lemma_option, enable_npp_option, lemmatiser, list, maxPhraseLength, minPhraseLength, nonboundaryPunctuations| Constructor and Description |
|---|
BasicVocabulary(String termFilename) |
BasicVocabulary(String termFilename,
Lemmatiser lemmatiser) |
| Modifier and Type | Method and Description |
|---|---|
Word |
findPhrase(Word start)
Finds out the phrase beging with the given word.
|
boolean |
isPhrase(String term)
Tests if the term is a phrase
|
boolean |
isPhrase(Word start,
Word end)
Tests if the term specified by the starting word and the ending word is a prhase.
|
buildString, getAdjectivePhraseOption, getCoordinateOption, getLemma, getLemmaOption, getNonBoundaryPunctuation, getNPPOption, getPhrase, getPhraseNum, isBoundaryWord, isStartingWord, isUsefulForPhrase, maxPhraseLength, minPhraseLength, readVocabularyMeta, setAdjectivePhraseOption, setCoordinateOption, setLemmaOption, setNonBoundaryPunctuation, setNPPOptionpublic BasicVocabulary(String termFilename)
public BasicVocabulary(String termFilename, Lemmatiser lemmatiser)
public boolean isPhrase(String term)
Vocabularyterm - the term for testingpublic boolean isPhrase(Word start, Word end)
Vocabularystart - the starting word of the phraseend - the ending word of the phrasepublic Word findPhrase(Word start)
Vocabularystart - the starting wordCopyright © 2018 JULIE Lab, Germany. All rights reserved.