A B C D E F G H I L M N O P R S T U W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(String) - Method in class com.optimaize.langdetect.cybozu.util.LangProfile
-
Deprecated.Add n-gram to profile
- add(String) - Method in class com.optimaize.langdetect.cybozu.util.TagExtractor
- addChar(char) - Method in class com.optimaize.langdetect.cybozu.util.NGram
- addCharSequence(LangProfile, CharSequence) - Static method in class com.optimaize.langdetect.cybozu.util.Util
- addGram(String) - Method in class com.optimaize.langdetect.profiles.LanguageProfileBuilder
-
Shortcut for addGram(ngram, 1).
- addGram(String, int) - Method in class com.optimaize.langdetect.profiles.LanguageProfileBuilder
-
If the builder already has this ngram, the given frequency is added to the current count.
- addText(CharSequence) - Method in class com.optimaize.langdetect.profiles.LanguageProfileBuilder
-
In order to use this you must set the
LanguageProfileBuilder.ngramExtractor
first. - affixFactor(double) - Method in class com.optimaize.langdetect.LanguageDetectorBuilder
-
Sets prefixFactor() and suffixFactor() both to the given value.
- alpha(double) - Method in class com.optimaize.langdetect.LanguageDetectorBuilder
- append(char) - Method in class com.optimaize.langdetect.text.TextObject
- append(Reader) - Method in class com.optimaize.langdetect.text.TextObject
-
Append the target text for language detection.
- append(CharSequence) - Method in class com.optimaize.langdetect.text.TextObject
-
Append the target text for language detection.
- append(CharSequence, int, int) - Method in class com.optimaize.langdetect.text.TextObject
B
- backwards() - Static method in class com.optimaize.langdetect.ngram.NgramExtractors
-
The old way of doing n-grams.
- BackwardsCompatibleNgramFilter - Class in com.optimaize.langdetect.ngram
-
Filters those that were not generated by the old n-gram generator.
- batchTest() - Method in class com.optimaize.langdetect.cybozu.CommandLineInterface
-
Batch Test of Language Detection (--batchtest option)
- build() - Method in class com.optimaize.langdetect.LanguageDetectorBuilder
- build() - Method in class com.optimaize.langdetect.profiles.LanguageProfileBuilder
- build() - Method in class com.optimaize.langdetect.text.TextObjectFactoryBuilder
- BuiltInLanguages - Class in com.optimaize.langdetect.profiles
- BuiltInLanguages() - Constructor for class com.optimaize.langdetect.profiles.BuiltInLanguages
C
- charAt(int) - Method in class com.optimaize.langdetect.text.TextObject
- CharNormalizer - Class in com.optimaize.langdetect.cybozu.util
-
Some character normalization (and exclusion) functionality.
- CharNormalizer() - Constructor for class com.optimaize.langdetect.cybozu.util.CharNormalizer
- CharNormalizerTextFilterImpl - Class in com.optimaize.langdetect.text
-
Deprecated.can't be used because it would be a big loss to not inline this code.
- CharNormalizerTextFilterImpl() - Constructor for class com.optimaize.langdetect.text.CharNormalizerTextFilterImpl
-
Deprecated.
- clear() - Method in class com.optimaize.langdetect.cybozu.util.TagExtractor
- closeQuietly(Closeable) - Static method in class com.optimaize.langdetect.frma.IOUtils
-
Deprecated.use java7 closeable
- closeTag(LangProfile) - Method in class com.optimaize.langdetect.cybozu.util.TagExtractor
- com.optimaize.langdetect - package com.optimaize.langdetect
- com.optimaize.langdetect.cybozu - package com.optimaize.langdetect.cybozu
-
Original language detection classes from https://code.google.com/p/language-detection/
- com.optimaize.langdetect.cybozu.util - package com.optimaize.langdetect.cybozu.util
-
Provides the utility classes for language detection.
- com.optimaize.langdetect.frma - package com.optimaize.langdetect.frma
- com.optimaize.langdetect.i18n - package com.optimaize.langdetect.i18n
- com.optimaize.langdetect.ngram - package com.optimaize.langdetect.ngram
-
Provides functionality for handling n-grams.
- com.optimaize.langdetect.profiles - package com.optimaize.langdetect.profiles
-
Provides functionality for loading, storing and creating
LanguageProfile
s. - com.optimaize.langdetect.profiles.util - package com.optimaize.langdetect.profiles.util
- com.optimaize.langdetect.text - package com.optimaize.langdetect.text
-
Provides functionality for concatenating and cleaning text that is used as a) learning text to produce
com.optimaize.langdetect.LanguageProfile
s b) for the text for which the language is to be guessed. - CommandLineInterface - Class in com.optimaize.langdetect.cybozu
-
LangDetect Command Line Interface.
- CommandLineInterface() - Constructor for class com.optimaize.langdetect.cybozu.CommandLineInterface
- CommonTextObjectFactories - Class in com.optimaize.langdetect.text
-
Contains some standard
TextObjectFactory
s ready to use for common use cases. - CommonTextObjectFactories() - Constructor for class com.optimaize.langdetect.text.CommonTextObjectFactories
- compareTo(DetectedLanguage) - Method in class com.optimaize.langdetect.DetectedLanguage
-
See class header.
- convert(LangProfile) - Static method in class com.optimaize.langdetect.profiles.OldLangProfileConverter
- count() - Method in class com.optimaize.langdetect.cybozu.util.TagExtractor
- create() - Method in class com.optimaize.langdetect.text.TextObjectFactory
- create(NgramExtractor) - Static method in class com.optimaize.langdetect.LanguageDetectorBuilder
- create(Collection<LanguageProfile>, Collection<Integer>) - Static method in class com.optimaize.langdetect.NgramFrequencyData
D
- detect(CharSequence) - Method in interface com.optimaize.langdetect.LanguageDetector
-
Returns the best detected language if the algorithm is very confident.
- detect(CharSequence) - Method in class com.optimaize.langdetect.LanguageDetectorImpl
- DetectedLanguage - Class in com.optimaize.langdetect
-
Holds information about a detected language: the locale (language) and the probability.
- DetectedLanguage(LdLocale, double) - Constructor for class com.optimaize.langdetect.DetectedLanguage
- detectLang() - Method in class com.optimaize.langdetect.cybozu.CommandLineInterface
-
Language detection test for each file (--detectlang option)
E
- equals(Object) - Method in class com.optimaize.langdetect.i18n.LdLocale
- equals(Object) - Method in class com.optimaize.langdetect.profiles.LanguageProfileImpl
- extractCountedGrams(CharSequence) - Method in class com.optimaize.langdetect.ngram.NgramExtractor
- extractGrams(CharSequence) - Method in class com.optimaize.langdetect.ngram.NgramExtractor
-
Creates the n-grams for a given text in the order they occur.
- extractNGrams(CharSequence, OldNgramExtractor.Filter) - Static method in class com.optimaize.langdetect.ngram.OldNgramExtractor
-
Deprecated.
F
- filter(NgramFilter) - Method in class com.optimaize.langdetect.ngram.NgramExtractor
- filter(CharSequence) - Method in class com.optimaize.langdetect.text.CharNormalizerTextFilterImpl
-
Deprecated.
- filter(CharSequence) - Method in class com.optimaize.langdetect.text.MultiTextFilter
- filter(CharSequence) - Method in class com.optimaize.langdetect.text.RemoveMinorityScriptsTextFilter
- filter(CharSequence) - Method in interface com.optimaize.langdetect.text.TextFilter
- filter(CharSequence) - Method in class com.optimaize.langdetect.text.UrlTextFilter
- forDetectingOnLargeText() - Static method in class com.optimaize.langdetect.text.CommonTextObjectFactories
- forDetectingShortCleanText() - Static method in class com.optimaize.langdetect.text.CommonTextObjectFactories
- forIndexing() - Static method in class com.optimaize.langdetect.text.CommonTextObjectFactories
- forIndexingCleanText() - Static method in class com.optimaize.langdetect.text.CommonTextObjectFactories
- forText(CharSequence) - Method in class com.optimaize.langdetect.text.TextObjectFactory
- forThreshold(double) - Static method in class com.optimaize.langdetect.text.RemoveMinorityScriptsTextFilter
-
If a script has less than this fraction of content compared to the most used one, its text is removed.
- fromString(String) - Static method in class com.optimaize.langdetect.i18n.LdLocale
G
- generate(String, File) - Static method in class com.optimaize.langdetect.frma.GenProfile
-
Loads a text file and generate a language profile from its content.
- generateProfile() - Method in class com.optimaize.langdetect.cybozu.CommandLineInterface
-
Generate Language Profile from a text file.
- GenProfile - Class in com.optimaize.langdetect.cybozu
-
Load Wikipedia's abstract XML as corpus and generate its language profile in JSON format.
- GenProfile - Class in com.optimaize.langdetect.frma
-
Generate a language profile from any given text file.
- GenProfile() - Constructor for class com.optimaize.langdetect.cybozu.GenProfile
- GenProfile() - Constructor for class com.optimaize.langdetect.frma.GenProfile
- get(int) - Method in class com.optimaize.langdetect.cybozu.util.NGram
-
TODO this method has some weird, undocumented behavior to ignore ngrams with upper case.
- getFreq() - Method in class com.optimaize.langdetect.cybozu.util.LangProfile
-
Deprecated.
- getFrequency(String) - Method in interface com.optimaize.langdetect.profiles.LanguageProfile
- getFrequency(String) - Method in class com.optimaize.langdetect.profiles.LanguageProfileImpl
- getGramLengths() - Method in class com.optimaize.langdetect.ngram.NgramExtractor
- getGramLengths() - Method in interface com.optimaize.langdetect.profiles.LanguageProfile
-
Tells what the n in n-grams are used here.
- getGramLengths() - Method in class com.optimaize.langdetect.profiles.LanguageProfileImpl
- getInstance() - Static method in class com.optimaize.langdetect.ngram.BackwardsCompatibleNgramFilter
- getInstance() - Static method in class com.optimaize.langdetect.ngram.StandardNgramFilter
- getInstance() - Static method in class com.optimaize.langdetect.text.UrlTextFilter
- getLanguage() - Method in class com.optimaize.langdetect.i18n.LdLocale
- getLanguage(int) - Method in class com.optimaize.langdetect.NgramFrequencyData
- getLanguageList() - Method in class com.optimaize.langdetect.NgramFrequencyData
- getLanguages() - Static method in class com.optimaize.langdetect.profiles.BuiltInLanguages
- getLocale() - Method in class com.optimaize.langdetect.DetectedLanguage
- getLocale() - Method in interface com.optimaize.langdetect.profiles.LanguageProfile
- getLocale() - Method in class com.optimaize.langdetect.profiles.LanguageProfileImpl
- getMaxGramCount(int) - Method in interface com.optimaize.langdetect.profiles.LanguageProfile
-
Tells how often the n-gram with the highest amount of occurrences used in this profile occurred.
- getMaxGramCount(int) - Method in class com.optimaize.langdetect.profiles.LanguageProfileImpl
- getMinGramCount(int) - Method in interface com.optimaize.langdetect.profiles.LanguageProfile
-
Tells how often the n-gram with the lowest amount of occurrences used in this profile occurred.
- getMinGramCount(int) - Method in class com.optimaize.langdetect.profiles.LanguageProfileImpl
- getName() - Method in class com.optimaize.langdetect.cybozu.util.LangProfile
-
Deprecated.
- getNumGramOccurrences(int) - Method in interface com.optimaize.langdetect.profiles.LanguageProfile
-
Tells how often all n-grams of a certain length occurred, combined.
- getNumGramOccurrences(int) - Method in class com.optimaize.langdetect.profiles.LanguageProfileImpl
- getNumGrams() - Method in interface com.optimaize.langdetect.profiles.LanguageProfile
-
Tells how many n-grams there are for all n-gram sizes combined.
- getNumGrams() - Method in class com.optimaize.langdetect.profiles.LanguageProfileImpl
- getNumGrams(int) - Method in interface com.optimaize.langdetect.profiles.LanguageProfile
-
Tells how many different n-grams there are for a certain n-gram size.
- getNumGrams(int) - Method in class com.optimaize.langdetect.profiles.LanguageProfileImpl
- getNWords() - Method in class com.optimaize.langdetect.cybozu.util.LangProfile
-
Deprecated.
- getProbabilities(CharSequence) - Method in interface com.optimaize.langdetect.LanguageDetector
-
Returns all languages with at least some likeliness.
- getProbabilities(CharSequence) - Method in class com.optimaize.langdetect.LanguageDetectorImpl
- getProbabilities(String) - Method in class com.optimaize.langdetect.NgramFrequencyData
-
Don't modify this data structure! (Can't make array immutable...)
- getProbability() - Method in class com.optimaize.langdetect.DetectedLanguage
- getRegion() - Method in class com.optimaize.langdetect.i18n.LdLocale
- getScript() - Method in class com.optimaize.langdetect.i18n.LdLocale
- getShortTextLanguages() - Static method in class com.optimaize.langdetect.profiles.BuiltInLanguages
- getString(String) - Static method in class com.optimaize.langdetect.cybozu.util.Messages
- gramLength(int) - Static method in class com.optimaize.langdetect.ngram.NgramExtractor
- gramLengths(Integer...) - Static method in class com.optimaize.langdetect.ngram.NgramExtractor
H
- hashCode() - Method in class com.optimaize.langdetect.i18n.LdLocale
- hashCode() - Method in class com.optimaize.langdetect.profiles.LanguageProfileImpl
I
- IOUtils - Class in com.optimaize.langdetect.frma
-
Deprecated.
- iterateGrams() - Method in interface com.optimaize.langdetect.profiles.LanguageProfile
-
Iterates all ngram strings with frequency.
- iterateGrams() - Method in class com.optimaize.langdetect.profiles.LanguageProfileImpl
- iterateGrams(int) - Method in interface com.optimaize.langdetect.profiles.LanguageProfile
-
Iterates all gramLength-gram strings with frequency.
- iterateGrams(int) - Method in class com.optimaize.langdetect.profiles.LanguageProfileImpl
L
- LangProfile - Class in com.optimaize.langdetect.cybozu.util
-
Deprecated.replaced by LanguageProfile
- LangProfile() - Constructor for class com.optimaize.langdetect.cybozu.util.LangProfile
-
Deprecated.Constructor for JSONIC
- LangProfile(String) - Constructor for class com.optimaize.langdetect.cybozu.util.LangProfile
-
Deprecated.Normal Constructor
- LangProfileReader - Class in com.optimaize.langdetect.frma
-
Reads
LangProfile
s. - LangProfileReader() - Constructor for class com.optimaize.langdetect.frma.LangProfileReader
- LangProfileWriter - Class in com.optimaize.langdetect.frma
-
Writes a
LangProfile
to an output stream (file). - LangProfileWriter() - Constructor for class com.optimaize.langdetect.frma.LangProfileWriter
- LanguageDetector - Interface in com.optimaize.langdetect
-
Guesses the language of an input string or text.
- LanguageDetectorBuilder - Class in com.optimaize.langdetect
-
Builder for
LanguageDetector
. - LanguageDetectorImpl - Class in com.optimaize.langdetect
-
This class is immutable and thus thread-safe.
- languagePriorities(Map<LdLocale, Double>) - Method in class com.optimaize.langdetect.LanguageDetectorBuilder
-
TODO document exactly.
- LanguageProfile - Interface in com.optimaize.langdetect.profiles
-
A language profile knows the locale (language), and contains the n-grams and some statistics.
- LanguageProfileBuilder - Class in com.optimaize.langdetect.profiles
-
Builder for
LanguageProfile
. - LanguageProfileBuilder(LdLocale) - Constructor for class com.optimaize.langdetect.profiles.LanguageProfileBuilder
- LanguageProfileBuilder(String) - Constructor for class com.optimaize.langdetect.profiles.LanguageProfileBuilder
-
Deprecated.
- LanguageProfileImpl - Class in com.optimaize.langdetect.profiles
-
This class is immutable.
- LanguageProfileReader - Class in com.optimaize.langdetect.profiles
-
Reads
LanguageProfile
s. - LanguageProfileReader() - Constructor for class com.optimaize.langdetect.profiles.LanguageProfileReader
- LanguageProfileWriter - Class in com.optimaize.langdetect.profiles
-
Writes a
LanguageProfile
to an output stream or file. - LanguageProfileWriter() - Constructor for class com.optimaize.langdetect.profiles.LanguageProfileWriter
- LdLocale - Class in com.optimaize.langdetect.i18n
-
A language-detector implementation of a Locale, similar to the java.util.Locale.
- length() - Method in class com.optimaize.langdetect.text.TextObject
- load(String, File) - Static method in class com.optimaize.langdetect.cybozu.GenProfile
-
Load Wikipedia abstract database file and generate its language profile
M
- main(String[]) - Static method in class com.optimaize.langdetect.cybozu.CommandLineInterface
-
Command Line Interface
- makeInternalPrioMap(Map<LdLocale, Double>, List<LdLocale>) - Static method in class com.optimaize.langdetect.cybozu.util.Util
- maxTextLength(int) - Method in class com.optimaize.langdetect.text.TextObjectFactoryBuilder
- Messages - Class in com.optimaize.langdetect.cybozu.util
-
This is
Messages
class generated by Eclipse automatically. - minimalConfidence(double) - Method in class com.optimaize.langdetect.LanguageDetectorBuilder
-
LanguageDetector.detect(java.lang.CharSequence)
returns a language if the best detected language has at least this probability. - minimalFrequency(int) - Method in class com.optimaize.langdetect.profiles.LanguageProfileBuilder
- MultiTextFilter - Class in com.optimaize.langdetect.text
-
Groups multiple
TextFilter
s as one and runs them in the given order. - MultiTextFilter(List<TextFilter>) - Constructor for class com.optimaize.langdetect.text.MultiTextFilter
N
- N_GRAM - Static variable in class com.optimaize.langdetect.cybozu.util.NGram
-
ngrams are created from 1gram to this amount, currently 2grams and 3grams.
- NGram - Class in com.optimaize.langdetect.cybozu.util
-
TODO document.
- NGram() - Constructor for class com.optimaize.langdetect.cybozu.util.NGram
- ngramExtractor(NgramExtractor) - Method in class com.optimaize.langdetect.profiles.LanguageProfileBuilder
- NgramExtractor - Class in com.optimaize.langdetect.ngram
-
Class for extracting n-grams out of a text.
- NgramExtractors - Class in com.optimaize.langdetect.ngram
-
Provides easy access to commonly used NgramExtractor configs.
- NgramExtractors() - Constructor for class com.optimaize.langdetect.ngram.NgramExtractors
- NgramFilter - Interface in com.optimaize.langdetect.ngram
-
Filters out some undesired n-grams.
- NgramFrequencyData - Class in com.optimaize.langdetect
-
Contains frequency information for n-grams coming from multiple
LanguageProfile
s. - normalize(char) - Static method in class com.optimaize.langdetect.cybozu.util.CharNormalizer
-
Character Normalization (and exclusion).
- normalizeProb(double[]) - Static method in class com.optimaize.langdetect.cybozu.util.Util
-
normalize probabilities and check convergence by the maximum probability
O
- OldLangProfileConverter - Class in com.optimaize.langdetect.profiles
-
Converts an old
LangProfile
to a newLanguageProfile
. - OldLangProfileConverter() - Constructor for class com.optimaize.langdetect.profiles.OldLangProfileConverter
- OldNgramExtractor - Class in com.optimaize.langdetect.ngram
-
Deprecated.
- OldNgramExtractor() - Constructor for class com.optimaize.langdetect.ngram.OldNgramExtractor
-
Deprecated.
- OldNgramExtractor.Filter - Interface in com.optimaize.langdetect.ngram
-
Deprecated.
- omitLessFreq() - Method in class com.optimaize.langdetect.cybozu.util.LangProfile
-
Deprecated.Removes ngrams that occur fewer times than MINIMUM_FREQ to get rid of rare ngrams.
P
- prefixFactor(double) - Method in class com.optimaize.langdetect.LanguageDetectorBuilder
-
To weight n-grams that are on the left border of a word differently from n-grams in the middle of words, assign a value here.
- probabilityThreshold(double) - Method in class com.optimaize.langdetect.LanguageDetectorBuilder
-
LanguageDetector.getProbabilities(java.lang.CharSequence)
does not return languages with less probability than this.
R
- read(File) - Method in class com.optimaize.langdetect.frma.LangProfileReader
-
Reads a
LangProfile
from a File in UTF-8. - read(File) - Method in class com.optimaize.langdetect.profiles.LanguageProfileReader
-
Reads a
LanguageProfile
from a File in UTF-8. - read(InputStream) - Method in class com.optimaize.langdetect.frma.LangProfileReader
-
Reads a
LangProfile
from an InputStream in UTF-8. - read(InputStream) - Method in class com.optimaize.langdetect.profiles.LanguageProfileReader
-
Reads a
LanguageProfile
from an InputStream in UTF-8. - read(ClassLoader, String, Collection<String>) - Method in class com.optimaize.langdetect.profiles.LanguageProfileReader
-
Load profiles from the classpath in a specific directory.
- read(String, Collection<String>) - Method in class com.optimaize.langdetect.profiles.LanguageProfileReader
-
Same as
LanguageProfileReader.read(ClassLoader, String, java.util.Collection)
using the class loader of this class. - read(Collection<String>) - Method in class com.optimaize.langdetect.profiles.LanguageProfileReader
-
Same as
LanguageProfileReader.read(ClassLoader, String, java.util.Collection)
using the class loader of this class, and the default profiles directory of this library. - readAll() - Method in class com.optimaize.langdetect.profiles.LanguageProfileReader
-
Deprecated.renamed to readAllBuiltIn()
- readAll(File) - Method in class com.optimaize.langdetect.profiles.LanguageProfileReader
-
Loads all profiles from the specified directory.
- readAllBuiltIn() - Method in class com.optimaize.langdetect.profiles.LanguageProfileReader
-
Reads all built-in language profiles from the "languages" folder (shipped with the jar).
- readBuiltIn(LdLocale) - Method in class com.optimaize.langdetect.profiles.LanguageProfileReader
- readBuiltIn(Collection<LdLocale>) - Method in class com.optimaize.langdetect.profiles.LanguageProfileReader
- RemoveMinorityScriptsTextFilter - Class in com.optimaize.langdetect.text
-
Removes text written in scripts that are not the dominant script of the text.
S
- seed(long) - Method in class com.optimaize.langdetect.LanguageDetectorBuilder
- seed(Optional<Long>) - Method in class com.optimaize.langdetect.LanguageDetectorBuilder
- setFreq(Map<String, Integer>) - Method in class com.optimaize.langdetect.cybozu.util.LangProfile
-
Deprecated.
- setName(String) - Method in class com.optimaize.langdetect.cybozu.util.LangProfile
-
Deprecated.
- setNWords(int[]) - Method in class com.optimaize.langdetect.cybozu.util.LangProfile
-
Deprecated.
- setTag(String) - Method in class com.optimaize.langdetect.cybozu.util.TagExtractor
- shortTextAlgorithm(int) - Method in class com.optimaize.langdetect.LanguageDetectorBuilder
-
Defaults to 0, which means don't use this feature.
- standard() - Static method in class com.optimaize.langdetect.ngram.NgramExtractors
-
The new standard n-gram algorithm.
- StandardNgramFilter - Class in com.optimaize.langdetect.ngram
-
Filters what is generally not desired.
- subSequence(int, int) - Method in class com.optimaize.langdetect.text.TextObject
- suffixFactor(double) - Method in class com.optimaize.langdetect.LanguageDetectorBuilder
-
Defaults to 1.0, which means don't use this feature.
T
- TagExtractor - Class in com.optimaize.langdetect.cybozu.util
-
TagExtractor
is a class which extracts inner texts of specified tag. - TagExtractor(String, int) - Constructor for class com.optimaize.langdetect.cybozu.util.TagExtractor
- TextFilter - Interface in com.optimaize.langdetect.text
-
Allows to filter content from a text to be ignored for the n-gram analysis.
- TextObject - Class in com.optimaize.langdetect.text
-
A convenient text object implementing CharSequence and Appendable.
- TextObject(TextFilter, int) - Constructor for class com.optimaize.langdetect.text.TextObject
- TextObjectFactory - Class in com.optimaize.langdetect.text
-
Factory for
TextObject
s. - TextObjectFactory(TextFilter, int) - Constructor for class com.optimaize.langdetect.text.TextObjectFactory
- TextObjectFactoryBuilder - Class in com.optimaize.langdetect.text
-
Builder for
TextObjectFactory
. - TextObjectFactoryBuilder() - Constructor for class com.optimaize.langdetect.text.TextObjectFactoryBuilder
- textPadding(char) - Method in class com.optimaize.langdetect.ngram.NgramExtractor
-
To ensure having border grams, this character is added to the left and right of the text.
- toString() - Method in class com.optimaize.langdetect.DetectedLanguage
- toString() - Method in class com.optimaize.langdetect.i18n.LdLocale
-
The output of this can be fed to the fromString() method.
- toString() - Method in class com.optimaize.langdetect.profiles.LanguageProfileImpl
- toString() - Method in class com.optimaize.langdetect.text.TextObject
U
- unicodeEncode(String) - Static method in class com.optimaize.langdetect.cybozu.util.Util
-
unicode encoding (for verbose mode)
- UrlTextFilter - Class in com.optimaize.langdetect.text
-
Removes URLs and email addresses from the text.
- use(String) - Method in class com.optimaize.langdetect.ngram.BackwardsCompatibleNgramFilter
- use(String) - Method in interface com.optimaize.langdetect.ngram.NgramFilter
- use(String) - Method in interface com.optimaize.langdetect.ngram.OldNgramExtractor.Filter
-
Deprecated.Allows to skip some n-grams.
- use(String) - Method in class com.optimaize.langdetect.ngram.StandardNgramFilter
- Util - Class in com.optimaize.langdetect.cybozu.util
-
A place for sharing code.
- Util() - Constructor for class com.optimaize.langdetect.cybozu.util.Util
W
- withProfile(LanguageProfile) - Method in class com.optimaize.langdetect.LanguageDetectorBuilder
- withProfiles(Iterable<LanguageProfile>) - Method in class com.optimaize.langdetect.LanguageDetectorBuilder
- withTextFilter(TextFilter) - Method in class com.optimaize.langdetect.text.TextObjectFactoryBuilder
-
Adds the given TextFilter to be run on
TextObject.append(java.io.Reader)
methods. - wordProbToString(double[], List<LdLocale>) - Static method in class com.optimaize.langdetect.cybozu.util.Util
- write(LanguageProfile, OutputStream) - Method in class com.optimaize.langdetect.profiles.LanguageProfileWriter
-
Writes a
LanguageProfile
to an OutputStream in UTF-8. - write(LangProfile, OutputStream) - Method in class com.optimaize.langdetect.frma.LangProfileWriter
-
Writes a
LangProfile
to an OutputStream in UTF-8. - writeToDirectory(LanguageProfile, File) - Method in class com.optimaize.langdetect.profiles.LanguageProfileWriter
-
Writes a
LanguageProfile
to a folder using the language name as the file name.
All Classes All Packages