Package | Description |
---|---|
org.apache.tika.language |
Language detection.
|
Modifier and Type | Field and Description |
---|---|
private LanguageProfile |
ProfilingWriter.profile |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.String,LanguageProfile> |
LanguageIdentifier.PROFILES
The available language profiles.
|
Modifier and Type | Method and Description |
---|---|
LanguageProfile |
ProfilingWriter.getProfile()
Returns the language profile being built by this writer.
|
LanguageProfile |
ProfilingHandler.getProfile()
Returns the language profile being built by this content handler.
|
Modifier and Type | Method and Description |
---|---|
static void |
LanguageIdentifier.addProfile(java.lang.String language,
LanguageProfile profile)
Adds a single language profile
|
double |
LanguageProfile.distance(LanguageProfile that)
Calculates the geometric distance between this and the given
other language profile.
|
private double |
LanguageProfile.distanceInterleaved(LanguageProfile that) |
private double |
LanguageProfile.distanceStandard(LanguageProfile that) |
Modifier and Type | Method and Description |
---|---|
static void |
LanguageIdentifier.initProfiles(java.util.Map<java.lang.String,LanguageProfile> profilesMap)
Initializes the language profiles from a user supplied initialized Map.
|
Constructor and Description |
---|
LanguageIdentifier(LanguageProfile profile)
Constructs a language identifier based on a LanguageProfile
|
ProfilingHandler(LanguageProfile profile) |
ProfilingWriter(LanguageProfile profile) |