Package | Description |
---|---|
org.apache.tika.language |
Language detection.
|
Modifier and Type | Field and Description |
---|---|
private LanguageProfilerBuilder |
LanguageProfilerBuilder.NGramEntry.profile
The NGRamProfile this NGram is related to
|
Modifier and Type | Method and Description |
---|---|
static LanguageProfilerBuilder |
LanguageProfilerBuilder.create(java.lang.String name,
java.io.InputStream is,
java.lang.String encoding)
Creates a new Language profile from (preferably quite large - 5-10k of
lines) text file
|
LanguageProfilerBuilder |
LanguageProfilerBuilder.NGramEntry.getProfile()
Returns the profile associated to this ngram
|
Modifier and Type | Method and Description |
---|---|
float |
LanguageProfilerBuilder.getSimilarity(LanguageProfilerBuilder another)
Calculates a score how well NGramProfiles match each other
|
void |
LanguageProfilerBuilder.NGramEntry.setProfile(LanguageProfilerBuilder profile)
Associated a profile to this ngram
|