Verwendungen von Klasse
opennlp.tools.util.StringList
Packages, die StringList verwenden
Package
Beschreibung
Package related to parsing and storing dictionaries.
Experimental package related to converting various corpora to OpenNLP Format.
Package related to computing and storing n-gram frequencies.
Package containing utility data structures and algorithms used by multiple other packages.
-
Verwendungen von StringList in opennlp.tools.cmdline.namefind
Methodenparameter in opennlp.tools.cmdline.namefind mit Typargumenten vom Typ StringListModifizierer und TypMethodeBeschreibungstatic DictionaryCensusDictionaryCreatorTool.createDictionary(ObjectStream<StringList> sampleStream) Creates a dictionary. -
Verwendungen von StringList in opennlp.tools.dictionary
Methoden in opennlp.tools.dictionary, die Typen mit Argumenten vom Typ StringList zurückgebenMethoden in opennlp.tools.dictionary mit Parametern vom Typ StringListModifizierer und TypMethodeBeschreibungbooleanDictionary.contains(StringList tokens) Checks if this dictionary has the given entry.voidDictionary.put(StringList tokens) Adds the tokens to the dictionary as one new entry.voidDictionary.remove(StringList tokens) Removes the given tokens form the current instance.Konstruktorparameter in opennlp.tools.dictionary mit Typargumenten vom Typ StringList -
Verwendungen von StringList in opennlp.tools.dictionary.serializer
Methoden in opennlp.tools.dictionary.serializer, die StringList zurückgebenModifizierer und TypMethodeBeschreibungEntry.tokens()Gibt den Wert für die Datensatzkomponentetokenszurück.Konstruktoren in opennlp.tools.dictionary.serializer mit Parametern vom Typ StringListModifiziererKonstruktorBeschreibungEntry(StringList tokens, Attributes attributes) Erstellt eine Instanz einer DatensatzklasseEntry. -
Verwendungen von StringList in opennlp.tools.formats
Methoden in opennlp.tools.formats, die StringList zurückgeben -
Verwendungen von StringList in opennlp.tools.ngram
Methoden in opennlp.tools.ngram, die StringList zurückgebenModifizierer und TypMethodeBeschreibungstatic StringListNGramUtils.getNMinusOneTokenFirst(StringList ngram) get the (n-1)th ngram of a given ngram, that is the same ngram except the last word in the ngramstatic StringListNGramUtils.getNMinusOneTokenLast(StringList ngram) get the (n-1)th ngram of a given ngram, that is the same ngram except the first word in the ngramMethoden in opennlp.tools.ngram, die Typen mit Argumenten vom Typ StringList zurückgebenModifizierer und TypMethodeBeschreibungstatic Collection<StringList> NGramUtils.getNGrams(StringList sequence, int size) Get the ngrams of dimension n of a certain input sequence of tokens.NGramModel.iterator()Retrieves anIteratorover allStringListentries.Methoden in opennlp.tools.ngram mit Parametern vom Typ StringListModifizierer und TypMethodeBeschreibungvoidNGramModel.add(StringList ngram) Adds one NGram, if it already exists the count increase by one.voidNGramModel.add(StringList ngram, int minLength, int maxLength) Adds NGrams up to the specified length to the current instance.static doubleNGramUtils.calculateLaplaceSmoothingProbability(StringList ngram, Iterable<StringList> set, Double k) calculate the probability of a ngram in a vocabulary using Laplace smoothing algorithmstatic doubleNGramUtils.calculateMissingNgramProbabilityMass(StringList ngram, double discount, Iterable<StringList> set) calculate the probability of a ngram in a vocabulary using the missing probability mass algorithmstatic doubleNGramUtils.calculateNgramMLProbability(StringList ngram, Iterable<StringList> set) calculate the probability of a ngram in a vocabulary using maximum likelihood estimationbooleanNGramModel.contains(StringList tokens) Checks fit he given tokens are contained by the current instance.intNGramModel.getCount(StringList ngram) Retrieves the count of the given ngram.static Collection<StringList> NGramUtils.getNGrams(StringList sequence, int size) Get the ngrams of dimension n of a certain input sequence of tokens.static StringListNGramUtils.getNMinusOneTokenFirst(StringList ngram) get the (n-1)th ngram of a given ngram, that is the same ngram except the last word in the ngramstatic StringListNGramUtils.getNMinusOneTokenLast(StringList ngram) get the (n-1)th ngram of a given ngram, that is the same ngram except the first word in the ngramvoidNGramModel.remove(StringList tokens) Removes the specified tokens form the NGram model, they are just dropped.voidNGramModel.setCount(StringList ngram, int count) Sets the count of an existing ngram.Methodenparameter in opennlp.tools.ngram mit Typargumenten vom Typ StringListModifizierer und TypMethodeBeschreibungstatic doubleNGramUtils.calculateBigramMLProbability(String x0, String x1, Collection<StringList> set) calculate the probability of a bigram in a vocabulary using maximum likelihood estimationstatic doubleNGramUtils.calculateBigramPriorSmoothingProbability(String x0, String x1, Collection<StringList> set, Double k) calculate the probability of a bigram in a vocabulary using prior Laplace smoothing algorithmstatic doubleNGramUtils.calculateLaplaceSmoothingProbability(StringList ngram, Iterable<StringList> set, Double k) calculate the probability of a ngram in a vocabulary using Laplace smoothing algorithmstatic doubleNGramUtils.calculateMissingNgramProbabilityMass(StringList ngram, double discount, Iterable<StringList> set) calculate the probability of a ngram in a vocabulary using the missing probability mass algorithmstatic doubleNGramUtils.calculateNgramMLProbability(StringList ngram, Iterable<StringList> set) calculate the probability of a ngram in a vocabulary using maximum likelihood estimationstatic doubleNGramUtils.calculateTrigramLinearInterpolationProbability(String x0, String x1, String x2, Collection<StringList> set, Double lambda1, Double lambda2, Double lambda3) calculate the probability of a trigram in a vocabulary using a linear interpolation algorithmstatic doubleNGramUtils.calculateTrigramMLProbability(String x0, String x1, String x2, Iterable<StringList> set) calculate the probability of a trigram in a vocabulary using maximum likelihood estimationstatic doubleNGramUtils.calculateUnigramMLProbability(String word, Collection<StringList> set) calculate the probability of a unigram in a vocabulary using maximum likelihood estimation -
Verwendungen von StringList in opennlp.tools.util
Methoden in opennlp.tools.util, die StringList zurückgebenModifizierer und TypMethodeBeschreibungStringList.toCaseInsensitive()StringList.toCaseSensitive()Methoden in opennlp.tools.util mit Parametern vom Typ StringListModifizierer und TypMethodeBeschreibungbooleanStringList.compareToIgnoreCase(StringList tokens) Compares totoken listand ignores the case of the tokens.