Uses of Interface
com.optimaize.langdetect.profiles.LanguageProfile
-
Packages that use LanguageProfile Package Description com.optimaize.langdetect com.optimaize.langdetect.profiles Provides functionality for loading, storing and creatingLanguageProfile
s. -
-
Uses of LanguageProfile in com.optimaize.langdetect
Methods in com.optimaize.langdetect with parameters of type LanguageProfile Modifier and Type Method Description LanguageDetectorBuilder
LanguageDetectorBuilder. withProfile(LanguageProfile languageProfile)
Method parameters in com.optimaize.langdetect with type arguments of type LanguageProfile Modifier and Type Method Description static @NotNull NgramFrequencyData
NgramFrequencyData. create(@NotNull Collection<LanguageProfile> languageProfiles, @NotNull Collection<Integer> gramLengths)
LanguageDetectorBuilder
LanguageDetectorBuilder. withProfiles(Iterable<LanguageProfile> languageProfiles)
-
Uses of LanguageProfile in com.optimaize.langdetect.profiles
Classes in com.optimaize.langdetect.profiles that implement LanguageProfile Modifier and Type Class Description class
LanguageProfileImpl
This class is immutable.Methods in com.optimaize.langdetect.profiles that return LanguageProfile Modifier and Type Method Description LanguageProfile
LanguageProfileBuilder. build()
static LanguageProfile
OldLangProfileConverter. convert(LangProfile langProfile)
LanguageProfile
LanguageProfileReader. read(File profileFile)
Reads aLanguageProfile
from a File in UTF-8.LanguageProfile
LanguageProfileReader. read(InputStream inputStream)
Reads aLanguageProfile
from an InputStream in UTF-8.@NotNull LanguageProfile
LanguageProfileReader. readBuiltIn(@NotNull LdLocale locale)
Methods in com.optimaize.langdetect.profiles that return types with arguments of type LanguageProfile Modifier and Type Method Description List<LanguageProfile>
LanguageProfileReader. read(ClassLoader classLoader, String profileDirectory, Collection<String> profileFileNames)
Load profiles from the classpath in a specific directory.List<LanguageProfile>
LanguageProfileReader. read(String profileDirectory, Collection<String> profileFileNames)
Same asLanguageProfileReader.read(ClassLoader, String, java.util.Collection)
using the class loader of this class.List<LanguageProfile>
LanguageProfileReader. read(Collection<String> profileFileNames)
Same asLanguageProfileReader.read(ClassLoader, String, java.util.Collection)
using the class loader of this class, and the default profiles directory of this library.List<LanguageProfile>
LanguageProfileReader. readAll()
Deprecated.renamed to readAllBuiltIn()List<LanguageProfile>
LanguageProfileReader. readAll(File path)
Loads all profiles from the specified directory.List<LanguageProfile>
LanguageProfileReader. readAllBuiltIn()
Reads all built-in language profiles from the "languages" folder (shipped with the jar).@NotNull List<LanguageProfile>
LanguageProfileReader. readBuiltIn(@NotNull Collection<LdLocale> languages)
Methods in com.optimaize.langdetect.profiles with parameters of type LanguageProfile Modifier and Type Method Description void
LanguageProfileWriter. write(@NotNull LanguageProfile languageProfile, @NotNull OutputStream outputStream)
Writes aLanguageProfile
to an OutputStream in UTF-8.void
LanguageProfileWriter. writeToDirectory(@NotNull LanguageProfile languageProfile, @NotNull File fullPath)
Writes aLanguageProfile
to a folder using the language name as the file name.
-