Uses of Class
org.egothor.stemmer.FrequencyTrie
Packages that use FrequencyTrie
Package
Description
Provides the core Egothor-style stemming infrastructure based on compact
patch-command tries.
-
Uses of FrequencyTrie in org.egothor.stemmer
Methods in org.egothor.stemmer that return FrequencyTrieModifier and TypeMethodDescriptionFrequencyTrie.Builder.build()Builds a compiled read-only trie.static FrequencyTrie<String> StemmerPatchTrieLoader.load(String fileName, boolean storeOriginal, ReductionMode reductionMode) Loads a dictionary from a filesystem path string using default settings for the supplied reduction mode.static FrequencyTrie<String> StemmerPatchTrieLoader.load(String fileName, boolean storeOriginal, ReductionSettings reductionSettings) Loads a dictionary from a filesystem path string using explicit reduction settings.static FrequencyTrie<String> StemmerPatchTrieLoader.load(Path path, boolean storeOriginal, ReductionMode reductionMode) Loads a dictionary from a filesystem path using default settings for the supplied reduction mode.static FrequencyTrie<String> StemmerPatchTrieLoader.load(Path path, boolean storeOriginal, ReductionSettings reductionSettings) Loads a dictionary from a filesystem path using explicit reduction settings.static FrequencyTrie<String> StemmerPatchTrieLoader.load(StemmerPatchTrieLoader.Language language, boolean storeOriginal, ReductionMode reductionMode) Loads a bundled dictionary using default settings for the supplied reduction mode.static FrequencyTrie<String> StemmerPatchTrieLoader.load(StemmerPatchTrieLoader.Language language, boolean storeOriginal, ReductionSettings reductionSettings) Loads a bundled dictionary using explicit reduction settings.static FrequencyTrie<String> StemmerPatchTrieLoader.loadBinary(InputStream inputStream) Loads a GZip-compressed binary patch-command trie from an input stream.static FrequencyTrie<String> StemmerPatchTrieLoader.loadBinary(String fileName) Loads a GZip-compressed binary patch-command trie from a filesystem path string.static FrequencyTrie<String> StemmerPatchTrieLoader.loadBinary(Path path) Loads a GZip-compressed binary patch-command trie from a filesystem path.static FrequencyTrie<String> StemmerPatchTrieBinaryIO.read(InputStream inputStream) Reads a GZip-compressed binary patch-command trie from an input stream.static FrequencyTrie<String> Reads a GZip-compressed binary patch-command trie from a filesystem path string.static FrequencyTrie<String> Reads a GZip-compressed binary patch-command trie from a filesystem path.static <V> FrequencyTrie<V> FrequencyTrie.readFrom(InputStream inputStream, IntFunction<V[]> arrayFactory, FrequencyTrie.ValueStreamCodec<V> valueCodec) Reads a compiled trie from the supplied input stream.Methods in org.egothor.stemmer with parameters of type FrequencyTrieModifier and TypeMethodDescriptionstatic <V> FrequencyTrie.Builder<V> FrequencyTrieBuilders.copyOf(FrequencyTrie<V> source, IntFunction<V[]> arrayFactory, ReductionMode reductionMode) Reconstructs a new writable builder from a compiled read-only trie using default settings for the supplied reduction mode.static <V> FrequencyTrie.Builder<V> FrequencyTrieBuilders.copyOf(FrequencyTrie<V> source, IntFunction<V[]> arrayFactory, ReductionSettings reductionSettings) Reconstructs a new writable builder from a compiled read-only trie.static voidStemmerPatchTrieLoader.saveBinary(FrequencyTrie<String> trie, String fileName) Saves a compiled patch-command trie as a GZip-compressed binary file.static voidStemmerPatchTrieLoader.saveBinary(FrequencyTrie<String> trie, Path path) Saves a compiled patch-command trie as a GZip-compressed binary file.static voidStemmerPatchTrieBinaryIO.write(FrequencyTrie<String> trie, OutputStream outputStream) Writes a GZip-compressed binary patch-command trie to an output stream.static voidStemmerPatchTrieBinaryIO.write(FrequencyTrie<String> trie, String fileName) Writes a GZip-compressed binary patch-command trie to a filesystem path string.static voidStemmerPatchTrieBinaryIO.write(FrequencyTrie<String> trie, Path path) Writes a GZip-compressed binary patch-command trie to a filesystem path.