Uses of Interface
com.optimaize.langdetect.profiles.LanguageProfile
Packages that use LanguageProfile
-
Uses of LanguageProfile in com.optimaize.langdetect
Fields in com.optimaize.langdetect with type parameters of type LanguageProfileModifier and TypeFieldDescriptionprivate final @NotNull Set
<LanguageProfile> LanguageDetectorBuilder.languageProfiles
Methods in com.optimaize.langdetect with parameters of type LanguageProfileModifier and TypeMethodDescriptionLanguageDetectorBuilder.withProfile
(LanguageProfile languageProfile) Method parameters in com.optimaize.langdetect with type arguments of type LanguageProfileModifier and TypeMethodDescriptionstatic @NotNull NgramFrequencyData
NgramFrequencyData.create
(@NotNull Collection<LanguageProfile> languageProfiles, @NotNull Collection<Integer> gramLengths) LanguageDetectorBuilder.withProfiles
(Iterable<LanguageProfile> languageProfiles) -
Uses of LanguageProfile in com.optimaize.langdetect.profiles
Classes in com.optimaize.langdetect.profiles that implement LanguageProfileMethods in com.optimaize.langdetect.profiles that return LanguageProfileModifier and TypeMethodDescriptionLanguageProfileBuilder.build()
static LanguageProfile
OldLangProfileConverter.convert
(LangProfile langProfile) Reads aLanguageProfile
from a File in UTF-8.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 LanguageProfileModifier and TypeMethodDescriptionLanguageProfileReader.read
(ClassLoader classLoader, String profileDirectory, Collection<String> profileFileNames) Load profiles from the classpath in a specific directory.LanguageProfileReader.read
(String profileDirectory, Collection<String> profileFileNames) Same asLanguageProfileReader.read(ClassLoader, String, java.util.Collection)
using the class loader of this class.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.LanguageProfileReader.readAll()
Deprecated.renamed to readAllBuiltIn()Loads all profiles from the specified directory.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 LanguageProfileModifier and TypeMethodDescriptionvoid
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.