Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- accept(V, int, int) - Method in interface org.egothor.stemmer.FrequencyTrie.EntrySink
-
Accepts one ordered local value.
- acceptsRemainingInput() - Method in class org.egothor.stemmer.trie.CompiledNode
-
Indicates whether this node accepts any remaining lookup input.
- acceptsRemainingInput() - Method in class org.egothor.stemmer.trie.ReducedNode
-
Returns whether this node accepts any remaining lookup input.
- API Documentation - Search tag in Overview
- Section
- apply(String) - Method in class org.egothor.stemmer.CompiledPatchCommand
-
Applies this command to one source word and returns the transformed word.
- apply(String, String) - Static method in class org.egothor.stemmer.PatchCommandEncoder
-
Deprecated.
- apply(String, String, WordTraversalDirection) - Static method in class org.egothor.stemmer.PatchCommandEncoder
-
Deprecated.Since 2.3.0. Runtime stemming should use
CompiledPatchCommand.compile(String, WordTraversalDirection)once and then reuseCompiledPatchCommand.apply(String). This method repeatedly interprets the serialized patch-command string and is retained only for compatibility before the 3.0.0 migration. - APPLY_INSUFFICIENT_CAPACITY - Static variable in class org.egothor.stemmer.CompiledPatchCommand
-
Return value used when the caller-owned output range is too small.
- APPLY_INSUFFICIENT_CAPACITY - Static variable in class org.egothor.stemmer.PatchCommandEncoder
-
Return value used by
PatchCommandEncoder.applyTo(CharSequence, String, WordTraversalDirection, char[], int, int)when the caller-owned output range is too small for the transformed text. - applyArrayToOutput(char[], int, int, char[], int, int) - Method in class org.egothor.stemmer.CompiledPatchCommand
-
Applies this command from a character array into caller-owned output.
- applyNonNull(String) - Method in class org.egothor.stemmer.CompiledPatchCommand
-
Applies this command to a non-null source string.
- applySequenceToOutput(CharSequence, int, int, char[], int, int) - Method in class org.egothor.stemmer.CompiledPatchCommand
-
Applies this command from a character sequence into caller-owned output.
- applyTo(char[], int, int, char[], int, int) - Method in class org.egothor.stemmer.CompiledPatchCommand
-
Applies this command from a character-array slice into caller-owned output storage.
- applyTo(char[], int, int, String, WordTraversalDirection, char[], int, int) - Static method in class org.egothor.stemmer.PatchCommandEncoder
-
Deprecated.Since 2.3.0. Compile
patchCommandonce throughPatchCommandEncoder.compile(String, WordTraversalDirection)and callCompiledPatchCommand.applyTo(char[], int, int, char[], int, int). This String-based method reparses patch commands on every call and is kept only for compatibility before the 3.0.0 migration. - applyTo(CharSequence, char[], int, int) - Method in class org.egothor.stemmer.CompiledPatchCommand
-
Applies this command from a character sequence into caller-owned output storage.
- applyTo(CharSequence, int, int, char[], int, int) - Method in class org.egothor.stemmer.CompiledPatchCommand
-
Applies this command from a character-sequence slice into caller-owned output storage.
- applyTo(CharSequence, String, WordTraversalDirection, char[], int, int) - Static method in class org.egothor.stemmer.PatchCommandEncoder
-
Deprecated.Since 2.3.0. Compile
patchCommandonce throughPatchCommandEncoder.compile(String, WordTraversalDirection)and callCompiledPatchCommand.applyTo(CharSequence, char[], int, int)orCompiledPatchCommand.applyTo(CharSequence, int, int, char[], int, int). This String-based method reparses patch commands on every call and is kept only for compatibility before the 3.0.0 migration. - applyWithConfiguredDirection(String, String) - Method in class org.egothor.stemmer.PatchCommandEncoder
-
Deprecated.Since 2.3.0. Runtime stemming should compile
patchCommandonce throughPatchCommandEncoder.compile(String)and reuseCompiledPatchCommand.apply(String). The String-based application path reparses the patch command on every call and is kept only for source compatibility before the 3.0.0 migration. - AS_IS - Enum constant in enum class org.egothor.stemmer.CaseProcessingMode
-
Preserves input character casing exactly as provided by the dictionary source.
- AS_IS - Enum constant in enum class org.egothor.stemmer.DiacriticProcessingMode
-
Preserves dictionary entries and lookup keys exactly as provided.
- AS_IS_AND_STRIPPED_FALLBACK - Enum constant in enum class org.egothor.stemmer.DiacriticProcessingMode
-
Planned dual-path mode where lookup may continue along both the original diacritic edge and a normalized non-diacritic alternative.
- averageUniqueCandidateCount() - Method in record class org.egothor.stemmer.StemmerKnowledgeExperiment.ResultRow
-
Returns the value of the
averageUniqueCandidateCountrecord component.
B
- BACKWARD - Enum constant in enum class org.egothor.stemmer.WordTraversalDirection
-
Traverses a word from its logical end toward its logical beginning.
- build() - Method in class org.egothor.stemmer.CompiledPatchCommand.Builder
-
Builds the concrete command instance.
- build() - Method in class org.egothor.stemmer.FrequencyTrie.Builder
-
Builds a compiled read-only trie.
- build() - Method in class org.egothor.stemmer.PatchCommandEncoder.Builder
-
Builds a direction-specialized encoder instance.
- builder() - Static method in class org.egothor.stemmer.PatchCommandEncoder
-
Creates a fluent builder for constructing a direction-specialized encoder.
- builder(String, WordTraversalDirection) - Static method in class org.egothor.stemmer.CompiledPatchCommand
-
Creates a builder that compiles one serialized patch command.
- Builder() - Constructor for class org.egothor.stemmer.PatchCommandEncoder.Builder
-
Creates a builder initialized with the default Egothor-compatible cost model and backward traversal.
- Builder(IntFunction<V[]>, ReductionMode) - Constructor for class org.egothor.stemmer.FrequencyTrie.Builder
-
Creates a new builder using default thresholds for the supplied reduction mode.
- Builder(IntFunction<V[]>, ReductionMode, WordTraversalDirection) - Constructor for class org.egothor.stemmer.FrequencyTrie.Builder
-
Creates a new builder using default thresholds for the supplied reduction mode and explicit traversal direction.
- Builder(IntFunction<V[]>, ReductionSettings) - Constructor for class org.egothor.stemmer.FrequencyTrie.Builder
-
Creates a new builder with the provided settings.
- Builder(IntFunction<V[]>, ReductionSettings, WordTraversalDirection) - Constructor for class org.egothor.stemmer.FrequencyTrie.Builder
-
Creates a new builder with the provided settings and explicit traversal direction.
- Builder(IntFunction<V[]>, ReductionSettings, WordTraversalDirection, CaseProcessingMode) - Constructor for class org.egothor.stemmer.FrequencyTrie.Builder
-
Creates a new builder with the provided settings, explicit traversal direction, and explicit case processing mode.
- Builder(IntFunction<V[]>, ReductionSettings, WordTraversalDirection, CaseProcessingMode, DiacriticProcessingMode) - Constructor for class org.egothor.stemmer.FrequencyTrie.Builder
-
Creates a new builder with the provided settings, explicit traversal direction, explicit case processing mode, and explicit diacritic processing mode.
- Builder(IntFunction<V[]>, ReductionSettings, WordTraversalDirection, CaseProcessingMode, DiacriticProcessingMode, int) - Constructor for class org.egothor.stemmer.FrequencyTrie.Builder
-
Creates a new builder with the provided settings, explicit traversal direction, explicit case processing mode, explicit diacritic processing mode, and an explicit dense child lookup threshold.
C
- canonicalNodeCount() - Method in class org.egothor.stemmer.trie.ReductionContext
-
Returns the number of canonical nodes.
- caseProcessingMode() - Method in record class org.egothor.stemmer.TrieMetadata
-
Returns the value of the
caseProcessingModerecord component. - CaseProcessingMode - Enum Class in org.egothor.stemmer
-
Defines how dictionary items are normalized with respect to letter casing.
- childNodeIds() - Method in record class org.egothor.stemmer.trie.NodeData
-
Returns the internal child-node identifier array.
- children() - Method in class org.egothor.stemmer.trie.CompiledNode
-
Returns the internal child-node array.
- children() - Method in class org.egothor.stemmer.trie.MutableNode
-
Returns the internal child-node map indexed by transition character.
- children() - Method in class org.egothor.stemmer.trie.ReducedNode
-
Returns the internal canonical child map indexed by transition character.
- compile(String) - Method in class org.egothor.stemmer.PatchCommandEncoder
-
Compiles a patch command for repeated application with this encoder instance traversal direction.
- compile(String, WordTraversalDirection) - Static method in class org.egothor.stemmer.CompiledPatchCommand
-
Compiles a serialized patch command for repeated application.
- compile(String, WordTraversalDirection) - Static method in class org.egothor.stemmer.PatchCommandEncoder
-
Compiles a patch command for repeated application with the supplied traversal direction.
- Compile - Class in org.egothor.stemmer
-
Command-line compiler of stemmer dictionary files into compressed binary
FrequencyTrieartifacts. - CompiledNode<V> - Class in org.egothor.stemmer.trie
-
Immutable compiled trie node optimized for read access.
- CompiledNode(char[], CompiledNode<V>[], V[], boolean, int, int...) - Constructor for class org.egothor.stemmer.trie.CompiledNode
-
Creates one validated compiled node.
- CompiledNode(char[], CompiledNode<V>[], V[], int...) - Constructor for class org.egothor.stemmer.trie.CompiledNode
-
Creates one validated compiled node using
CompiledNode.DEFAULT_MAX_EXPANDED_INDEXfor dense lookup sizing. - CompiledNode(char[], CompiledNode<V>[], V[], int, int...) - Constructor for class org.egothor.stemmer.trie.CompiledNode
-
Creates one validated compiled node.
- CompiledPatchCommand - Class in org.egothor.stemmer
-
Immutable runtime command produced from one serialized Radixor patch command.
- CompiledPatchCommand(WordTraversalDirection, int, int) - Constructor for class org.egothor.stemmer.CompiledPatchCommand
-
Creates one compiled command.
- CompiledPatchCommand.Builder - Class in org.egothor.stemmer
-
Builder that compiles one serialized patch command to the most specific runtime command class available.
- computeAppliedLength(int) - Method in class org.egothor.stemmer.CompiledPatchCommand
-
Computes the output length for a source of the supplied length.
- contractUniformSubtrees() - Method in record class org.egothor.stemmer.ReductionSettings
-
Returns the value of the
contractUniformSubtreesrecord component. - copyFingerprintBytes() - Method in class org.egothor.stemmer.FrequencyTrie
-
Returns a defensive copy of the raw SHA-256 fingerprint bytes.
- copyOf(FrequencyTrie<V>, IntFunction<V[]>, ReductionMode) - Static method in class org.egothor.stemmer.FrequencyTrieBuilders
-
Reconstructs a new writable builder from a compiled read-only trie using default settings for the supplied reduction mode.
- copyOf(FrequencyTrie<V>, IntFunction<V[]>, ReductionSettings) - Static method in class org.egothor.stemmer.FrequencyTrieBuilders
-
Reconstructs a new writable builder from a compiled read-only trie.
- count() - Method in record class org.egothor.stemmer.ValueCount
-
Returns the value of the
countrecord component. - create(LocalValueSummary<V>, Map<Character, ReducedNode<V>>, ReductionSettings) - Static method in class org.egothor.stemmer.trie.ReductionSignature
-
Creates a non-accepting subtree signature according to the selected reduction mode.
- create(LocalValueSummary<V>, Map<Character, ReducedNode<V>>, ReductionSettings, boolean) - Static method in class org.egothor.stemmer.trie.ReductionSignature
-
Creates a subtree signature according to the selected reduction mode.
- CS_CZ - Enum constant in enum class org.egothor.stemmer.StemmerPatchTrieLoader.Language
-
Czech.
- csvHeader() - Static method in record class org.egothor.stemmer.StemmerKnowledgeExperiment.ResultRow
-
Returns the stable CSV header of this result format.
- current(int, WordTraversalDirection, ReductionSettings) - Static method in record class org.egothor.stemmer.TrieMetadata
-
Creates metadata populated with current-format defaults for freshly compiled tries.
- currentFormatVersion() - Static method in class org.egothor.stemmer.FrequencyTrie
-
Returns the current persisted binary stream format version.
D
- DA_DK - Enum constant in enum class org.egothor.stemmer.StemmerPatchTrieLoader.Language
-
Danish.
- DE_DE - Enum constant in enum class org.egothor.stemmer.StemmerPatchTrieLoader.Language
-
German.
- DEFAULT_DOMINANT_WINNER_MIN_PERCENT - Static variable in record class org.egothor.stemmer.ReductionSettings
-
Default minimum dominant winner percentage.
- DEFAULT_DOMINANT_WINNER_OVER_SECOND_RATIO - Static variable in record class org.egothor.stemmer.ReductionSettings
-
Default minimum winner-over-second ratio.
- DEFAULT_MAX_EXPANDED_INDEX - Static variable in class org.egothor.stemmer.FrequencyTrie
-
Default dense child lookup span in code points used when materializing compiled nodes without an explicit override.
- DEFAULT_MAX_EXPANDED_INDEX - Static variable in class org.egothor.stemmer.trie.CompiledNode
-
Default dense child lookup span in characters used when an explicit override is not provided.
- deleteCost(int) - Method in class org.egothor.stemmer.PatchCommandEncoder.Builder
-
Sets cost of a delete operation.
- denseTableLength() - Method in class org.egothor.stemmer.trie.CompiledNode
-
Returns a small memory-related metric describing this node's dense table size.
- diacriticProcessingMode() - Method in record class org.egothor.stemmer.TrieMetadata
-
Returns the value of the
diacriticProcessingModerecord component. - DiacriticProcessingMode - Enum Class in org.egothor.stemmer
-
Defines how dictionary loading and trie traversal should treat diacritics.
- dictionaryEntryCount() - Method in record class org.egothor.stemmer.StemmerKnowledgeExperiment.ResultRow
-
Returns the value of the
dictionaryEntryCountrecord component. - dominantWinnerMinPercent() - Method in record class org.egothor.stemmer.ReductionSettings
-
Returns the value of the
dominantWinnerMinPercentrecord component. - dominantWinnerOverSecondRatio() - Method in record class org.egothor.stemmer.ReductionSettings
-
Returns the value of the
dominantWinnerOverSecondRatiorecord component.
E
- edgeCount() - Method in class org.egothor.stemmer.trie.CompiledNode
-
Returns the number of child edges represented by this node.
- edgeLabels() - Method in class org.egothor.stemmer.trie.CompiledNode
-
Returns the internal edge-label array.
- edgeLabels() - Method in record class org.egothor.stemmer.trie.NodeData
-
Returns the internal edge-label array.
- encode(String, String) - Method in class org.egothor.stemmer.PatchCommandEncoder
-
Produces a compact patch command that transforms
sourceintotarget. - entryCount() - Method in record class org.egothor.stemmer.StemmerDictionaryParser.ParseStatistics
-
Returns the value of the
entryCountrecord component. - equals(Object) - Method in record class org.egothor.stemmer.ReductionSettings
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.egothor.stemmer.StemmerDictionaryParser.ParseStatistics
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.egothor.stemmer.StemmerKnowledgeExperiment.ResultRow
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.egothor.stemmer.trie.CompiledNode
-
Compares structural node content, including dense table availability.
- equals(Object) - Method in record class org.egothor.stemmer.trie.NodeData
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.egothor.stemmer.trie.ReductionSignature
- equals(Object) - Method in record class org.egothor.stemmer.TrieMetadata
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.egothor.stemmer.ValueCount
-
Indicates whether some other object is "equal to" this one.
- ES_ES - Enum constant in enum class org.egothor.stemmer.StemmerPatchTrieLoader.Language
-
Spanish.
- evaluate(Reader, String, String, long) - Method in class org.egothor.stemmer.StemmerKnowledgeExperiment
-
Evaluates a dictionary provided through an arbitrary reader.
- evaluateAllBundledLanguages(long) - Method in class org.egothor.stemmer.StemmerKnowledgeExperiment
-
Evaluates all supported bundled dictionaries using the supplied seed.
- evaluateBundledLanguage(StemmerPatchTrieLoader.Language, long) - Method in class org.egothor.stemmer.StemmerKnowledgeExperiment
-
Evaluates one bundled dictionary across all supported experiment configurations.
- evaluatedInputCount() - Method in record class org.egothor.stemmer.StemmerKnowledgeExperiment.ResultRow
-
Returns the value of the
evaluatedInputCountrecord component. - evaluatePath(Path, long) - Method in class org.egothor.stemmer.StemmerKnowledgeExperiment
-
Evaluates one filesystem dictionary across all supported experiment configurations.
F
- FA_IR - Enum constant in enum class org.egothor.stemmer.StemmerPatchTrieLoader.Language
-
Persian.
- FI_FI - Enum constant in enum class org.egothor.stemmer.StemmerPatchTrieLoader.Language
-
Finnish.
- findChild(char) - Method in class org.egothor.stemmer.trie.CompiledNode
-
Finds a child for the supplied edge character.
- forCompilation(WordTraversalDirection, ReductionSettings, DiacriticProcessingMode, CaseProcessingMode) - Static method in record class org.egothor.stemmer.TrieMetadata
-
Creates metadata for a newly compiled trie using the currently persisted binary stream format version.
- formatVersion() - Method in record class org.egothor.stemmer.TrieMetadata
-
Returns the value of the
formatVersionrecord component. - FORWARD - Enum constant in enum class org.egothor.stemmer.WordTraversalDirection
-
Traverses a word from its logical beginning toward its logical end.
- FR_FR - Enum constant in enum class org.egothor.stemmer.StemmerPatchTrieLoader.Language
-
French.
- FrequencyTrie<V> - Class in org.egothor.stemmer
-
Read-only trie mapping
Stringkeys to one or more values with frequency tracking. - FrequencyTrie.Builder<V> - Class in org.egothor.stemmer
-
Builder of
FrequencyTrie. - FrequencyTrie.EntrySink<V> - Interface in org.egothor.stemmer
-
Receives trie values during visitor-style lookup.
- FrequencyTrie.ValueStreamCodec<V> - Interface in org.egothor.stemmer
-
Codec used to persist values stored in the trie.
- FrequencyTrieBuilders - Class in org.egothor.stemmer
-
Factory utilities related to
FrequencyTrie.Builder. - fromTextBlock(int, String) - Static method in record class org.egothor.stemmer.TrieMetadata
-
Parses metadata from a text block produced by
TrieMetadata.toTextBlock().
G
- get(String) - Method in class org.egothor.stemmer.FrequencyTrie
-
Returns the most frequent value stored at the node addressed by the supplied key.
- getAccuracy() - Method in record class org.egothor.stemmer.StemmerKnowledgeExperiment.ResultRow
-
Returns the value of the
getAccuracyrecord component. - getAll(CharSequence, FrequencyTrie.EntrySink<? super V>, int) - Method in class org.egothor.stemmer.FrequencyTrie
-
Visits all values stored at the node addressed by the supplied key, applying metadata-driven lookup normalization when required.
- getAll(String) - Method in class org.egothor.stemmer.FrequencyTrie
-
Returns all values stored at the node addressed by the supplied key, ordered by descending frequency.
- getAllCoveredInputCount() - Method in record class org.egothor.stemmer.StemmerKnowledgeExperiment.ResultRow
-
Returns the value of the
getAllCoveredInputCountrecord component. - getAllF1() - Method in record class org.egothor.stemmer.StemmerKnowledgeExperiment.ResultRow
-
Returns the value of the
getAllF1record component. - getAllFalsePositiveCount() - Method in record class org.egothor.stemmer.StemmerKnowledgeExperiment.ResultRow
-
Returns the value of the
getAllFalsePositiveCountrecord component. - getAllNormalized(char[], int, int, FrequencyTrie.EntrySink<? super V>, int) - Method in class org.egothor.stemmer.FrequencyTrie
-
Visits all values stored at the node addressed by an already-normalized
char[]key slice. - getAllNormalized(CharSequence, FrequencyTrie.EntrySink<? super V>, int) - Method in class org.egothor.stemmer.FrequencyTrie
-
Visits all values stored at the node addressed by an already-normalized character sequence.
- getAllPrecision() - Method in record class org.egothor.stemmer.StemmerKnowledgeExperiment.ResultRow
-
Returns the value of the
getAllPrecisionrecord component. - getAllRecall() - Method in record class org.egothor.stemmer.StemmerKnowledgeExperiment.ResultRow
-
Returns the value of the
getAllRecallrecord component. - getAllTruePositiveCount() - Method in record class org.egothor.stemmer.StemmerKnowledgeExperiment.ResultRow
-
Returns the value of the
getAllTruePositiveCountrecord component. - getCorrectCount() - Method in record class org.egothor.stemmer.StemmerKnowledgeExperiment.ResultRow
-
Returns the value of the
getCorrectCountrecord component. - getEntries(String) - Method in class org.egothor.stemmer.FrequencyTrie
-
Returns all values stored at the node addressed by the supplied key together with their occurrence counts, ordered by the same rules as
FrequencyTrie.getAll(String). - getFingerprint() - Method in class org.egothor.stemmer.FrequencyTrie
-
Returns the deterministic SHA-256 fingerprint of this trie.
- getFirst(CharSequence, FrequencyTrie.EntrySink<? super V>) - Method in class org.egothor.stemmer.FrequencyTrie
-
Visits the first value stored at the node addressed by the supplied key, applying metadata-driven lookup normalization when required.
- getFirstNormalized(char[], int, int, FrequencyTrie.EntrySink<? super V>) - Method in class org.egothor.stemmer.FrequencyTrie
-
Visits the first value stored at the node addressed by an already-normalized
char[]key slice. - getFirstNormalized(CharSequence, FrequencyTrie.EntrySink<? super V>) - Method in class org.egothor.stemmer.FrequencyTrie
-
Visits the first value stored at the node addressed by an already-normalized character sequence.
- getNormalized(CharSequence) - Method in class org.egothor.stemmer.FrequencyTrie
-
Returns the preferred value for an already-normalized key.
- getNormalizedString(String) - Method in class org.egothor.stemmer.FrequencyTrie
-
Returns the preferred value for an already-normalized
Stringkey.
H
- hasApplicableLength(int) - Method in class org.egothor.stemmer.CompiledPatchCommand
-
Returns whether this command can produce a non-empty result for the supplied source length.
- hasChildren() - Method in class org.egothor.stemmer.trie.CompiledNode
-
Indicates whether this node has child edges.
- hasDenseLookup() - Method in class org.egothor.stemmer.trie.CompiledNode
-
Indicates whether this node has a dense direct-index child lookup table.
- hasEdge(char) - Method in class org.egothor.stemmer.trie.CompiledNode
-
Tests whether an edge label is present at this node.
- hashCode() - Method in record class org.egothor.stemmer.ReductionSettings
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.egothor.stemmer.StemmerDictionaryParser.ParseStatistics
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.egothor.stemmer.StemmerKnowledgeExperiment.ResultRow
-
Returns a hash code value for this object.
- hashCode() - Method in class org.egothor.stemmer.trie.CompiledNode
-
Returns a compact structural summary used by diagnostics and tests.
- hashCode() - Method in record class org.egothor.stemmer.trie.NodeData
-
Returns a hash code value for this object.
- hashCode() - Method in class org.egothor.stemmer.trie.ReductionSignature
- hashCode() - Method in record class org.egothor.stemmer.TrieMetadata
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.egothor.stemmer.ValueCount
-
Returns a hash code value for this object.
- hasValues() - Method in class org.egothor.stemmer.trie.CompiledNode
-
Indicates whether this node stores any values.
- HE_IL - Enum constant in enum class org.egothor.stemmer.StemmerPatchTrieLoader.Language
-
Hebrew.
- HU_HU - Enum constant in enum class org.egothor.stemmer.StemmerPatchTrieLoader.Language
-
Hungarian.
I
- ignoredLineCount() - Method in record class org.egothor.stemmer.StemmerDictionaryParser.ParseStatistics
-
Returns the value of the
ignoredLineCountrecord component. - includeStemInEvaluation() - Method in record class org.egothor.stemmer.StemmerKnowledgeExperiment.ResultRow
-
Returns the value of the
includeStemInEvaluationrecord component. - insertCost(int) - Method in class org.egothor.stemmer.PatchCommandEncoder.Builder
-
Sets cost of an insert operation.
- isLeaf() - Method in class org.egothor.stemmer.trie.CompiledNode
-
Indicates whether this node has no child edges.
- isRightToLeft() - Method in enum class org.egothor.stemmer.StemmerPatchTrieLoader.Language
-
Returns whether the language is written right-to-left.
- IT_IT - Enum constant in enum class org.egothor.stemmer.StemmerPatchTrieLoader.Language
-
Italian.
K
- KNOWLEDGE_PERCENT_STEP - Static variable in class org.egothor.stemmer.StemmerKnowledgeExperiment
-
Step between adjacent evaluated knowledge percentages.
- knowledgePercent() - Method in record class org.egothor.stemmer.StemmerKnowledgeExperiment.ResultRow
-
Returns the value of the
knowledgePercentrecord component.
L
- language() - Method in record class org.egothor.stemmer.StemmerKnowledgeExperiment.ResultRow
-
Returns the value of the
languagerecord component. - legacy(int, WordTraversalDirection) - Static method in record class org.egothor.stemmer.TrieMetadata
-
Creates metadata compatible with a legacy artifact version that did not store the full configuration explicitly.
- License - Search tag in Overview
- Section
- lineCount() - Method in record class org.egothor.stemmer.StemmerDictionaryParser.ParseStatistics
-
Returns the value of the
lineCountrecord component. - load(String, boolean, ReductionMode) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Deprecated.Since 2.3.0 for runtime stemming. Use
StemmerPatchTrieLoader.loadCompiled(String, boolean, ReductionMode)so patch commands are represented asCompiledPatchCommandvalues. - load(String, boolean, ReductionSettings) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Deprecated.Since 2.3.0 for runtime stemming. Use
StemmerPatchTrieLoader.loadCompiled(String, boolean, ReductionSettings)so patch commands are represented asCompiledPatchCommandvalues. - load(String, boolean, ReductionSettings, WordTraversalDirection) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Deprecated.Since 2.3.0 for runtime stemming. Use
StemmerPatchTrieLoader.loadCompiled(String, boolean, ReductionSettings, WordTraversalDirection)so patch commands are represented asCompiledPatchCommandvalues. - load(String, boolean, ReductionSettings, WordTraversalDirection, CaseProcessingMode) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Deprecated.Since 2.3.0 for runtime stemming. Use
StemmerPatchTrieLoader.loadCompiled(String, boolean, ReductionSettings, WordTraversalDirection, CaseProcessingMode)so patch commands are represented asCompiledPatchCommandvalues. - load(String, boolean, ReductionSettings, WordTraversalDirection, CaseProcessingMode, DiacriticProcessingMode) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Deprecated.Since 2.3.0 for runtime stemming. Use
StemmerPatchTrieLoader.loadCompiled(String, boolean, ReductionSettings, WordTraversalDirection, CaseProcessingMode, DiacriticProcessingMode)so patch commands are represented asCompiledPatchCommandvalues. - load(String, boolean, TrieMetadata) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Deprecated.Since 2.3.0 for runtime stemming. Use
StemmerPatchTrieLoader.loadCompiled(String, boolean, TrieMetadata)so patch commands are represented asCompiledPatchCommandvalues. - load(Path, boolean, ReductionMode) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Deprecated.Since 2.3.0 for runtime stemming. Use
StemmerPatchTrieLoader.loadCompiled(Path, boolean, ReductionMode)so patch commands are represented asCompiledPatchCommandvalues. - load(Path, boolean, ReductionSettings) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Deprecated.Since 2.3.0 for runtime stemming. Use
StemmerPatchTrieLoader.loadCompiled(Path, boolean, ReductionSettings)so patch commands are represented asCompiledPatchCommandvalues. - load(Path, boolean, ReductionSettings, WordTraversalDirection) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Deprecated.Since 2.3.0 for runtime stemming. Use
StemmerPatchTrieLoader.loadCompiled(Path, boolean, ReductionSettings, WordTraversalDirection)so patch commands are represented asCompiledPatchCommandvalues. - load(Path, boolean, ReductionSettings, WordTraversalDirection, CaseProcessingMode) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Deprecated.Since 2.3.0 for runtime stemming. Use
StemmerPatchTrieLoader.loadCompiled(Path, boolean, ReductionSettings, WordTraversalDirection, CaseProcessingMode)so patch commands are represented asCompiledPatchCommandvalues. - load(Path, boolean, ReductionSettings, WordTraversalDirection, CaseProcessingMode, DiacriticProcessingMode) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Deprecated.Since 2.3.0 for runtime stemming. Use
StemmerPatchTrieLoader.loadCompiled(Path, boolean, ReductionSettings, WordTraversalDirection, CaseProcessingMode, DiacriticProcessingMode)so patch commands are represented asCompiledPatchCommandvalues. - load(Path, boolean, TrieMetadata) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Deprecated.Since 2.3.0 for runtime stemming. Use
StemmerPatchTrieLoader.loadCompiled(Path, boolean, TrieMetadata)so patch commands are represented asCompiledPatchCommandvalues. - load(StemmerPatchTrieLoader.Language, boolean, ReductionMode) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Deprecated.Since 2.3.0 for runtime stemming. Use
StemmerPatchTrieLoader.loadCompiled(Language, boolean, ReductionMode)so patch commands are represented asCompiledPatchCommandvalues. - load(StemmerPatchTrieLoader.Language, boolean, ReductionSettings) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Deprecated.Since 2.3.0 for runtime stemming. Use
StemmerPatchTrieLoader.loadCompiled(Language, boolean, ReductionSettings)so patch commands are represented asCompiledPatchCommandvalues instead of reparsedStringvalues. - load(StemmerPatchTrieLoader.Language, boolean, TrieMetadata) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Deprecated.Since 2.3.0 for runtime stemming. Use
StemmerPatchTrieLoader.loadCompiled(Language, boolean, TrieMetadata)so patch commands are represented asCompiledPatchCommandvalues. - loadBinary(InputStream) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Deprecated.Since 2.3.0 for runtime stemming. Use
StemmerPatchTrieLoader.loadBinaryCompiled(InputStream)so patch commands are represented asCompiledPatchCommandvalues. - loadBinary(String) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Deprecated.Since 2.3.0 for runtime stemming. Use
StemmerPatchTrieLoader.loadBinaryCompiled(String)so patch commands are represented asCompiledPatchCommandvalues. - loadBinary(String, int) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Deprecated.Since 2.3.0 for runtime stemming. Use
StemmerPatchTrieLoader.loadBinaryCompiled(String, int)so patch commands are represented asCompiledPatchCommandvalues. - loadBinary(Path) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Deprecated.Since 2.3.0 for runtime stemming. Use
StemmerPatchTrieLoader.loadBinaryCompiled(Path)so patch commands are represented asCompiledPatchCommandvalues. - loadBinary(Path, int) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Deprecated.Since 2.3.0 for runtime stemming. Use
StemmerPatchTrieLoader.loadBinaryCompiled(Path, int)so patch commands are represented asCompiledPatchCommandvalues. - loadBinaryCompiled(InputStream) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Loads a GZip-compressed binary patch-command trie from an input stream and returns runtime-specialized compiled patch values.
- loadBinaryCompiled(String) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Loads a GZip-compressed binary patch-command trie from a filesystem path string and returns runtime-specialized compiled patch values.
- loadBinaryCompiled(String, int) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Loads a GZip-compressed binary patch-command trie from a filesystem path string using a custom dense lookup span override and returns runtime-specialized compiled patch values.
- loadBinaryCompiled(Path) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Loads a GZip-compressed binary patch-command trie from a filesystem path and returns runtime-specialized compiled patch values.
- loadBinaryCompiled(Path, int) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Loads a GZip-compressed binary patch-command trie from a filesystem path using a custom dense lookup span override and returns runtime-specialized compiled patch values.
- loadBinaryMetadata(InputStream) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Loads only persisted metadata from a GZip-compressed binary patch-command trie stream.
- loadBinaryMetadata(String) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Loads only persisted metadata from a GZip-compressed binary patch-command trie file.
- loadBinaryMetadata(Path) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Loads only persisted metadata from a GZip-compressed binary patch-command trie file.
- loadCompiled(String, boolean, ReductionMode) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Loads a dictionary from a filesystem path string using default settings for the supplied reduction mode and returns runtime-specialized compiled patch values.
- loadCompiled(String, boolean, ReductionSettings) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Loads a dictionary from a filesystem path string using explicit reduction settings and returns runtime-specialized compiled patch values.
- loadCompiled(String, boolean, ReductionSettings, WordTraversalDirection) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Loads a dictionary from a filesystem path string using explicit reduction settings and traversal direction, returning runtime-specialized compiled patch values.
- loadCompiled(String, boolean, ReductionSettings, WordTraversalDirection, CaseProcessingMode) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Loads a dictionary from a filesystem path string using explicit reduction settings, traversal direction, and case processing mode, returning runtime-specialized compiled patch values.
- loadCompiled(String, boolean, ReductionSettings, WordTraversalDirection, CaseProcessingMode, DiacriticProcessingMode) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Loads a dictionary from a filesystem path string using explicit semantic metadata dimensions, returning runtime-specialized compiled patch values.
- loadCompiled(String, boolean, TrieMetadata) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Loads a dictionary from a filesystem path string using explicit trie compilation metadata and returns runtime-specialized compiled patch values.
- loadCompiled(Path, boolean, ReductionMode) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Loads a dictionary from a filesystem path using default settings for the supplied reduction mode and returns runtime-specialized compiled patch values.
- loadCompiled(Path, boolean, ReductionSettings) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Loads a dictionary from a filesystem path using explicit reduction settings and returns a runtime-specialized trie whose values are compiled patch commands.
- loadCompiled(Path, boolean, ReductionSettings, WordTraversalDirection) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Loads a dictionary from a filesystem path using explicit reduction settings and traversal direction, returning runtime-specialized compiled patch values.
- loadCompiled(Path, boolean, ReductionSettings, WordTraversalDirection, CaseProcessingMode) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Loads a dictionary from a filesystem path using explicit reduction settings, traversal direction, and case processing mode, returning runtime-specialized compiled patch values.
- loadCompiled(Path, boolean, ReductionSettings, WordTraversalDirection, CaseProcessingMode, DiacriticProcessingMode) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Loads a dictionary from a filesystem path using explicit semantic metadata dimensions, returning runtime-specialized compiled patch values.
- loadCompiled(Path, boolean, TrieMetadata) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Loads a dictionary from a filesystem path using explicit trie compilation metadata and returns a runtime-specialized trie whose values are compiled patch commands.
- loadCompiled(StemmerPatchTrieLoader.Language, boolean, ReductionMode) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Loads a bundled dictionary using default settings for the supplied reduction mode and returns a runtime-specialized trie whose values are compiled patch commands.
- loadCompiled(StemmerPatchTrieLoader.Language, boolean, ReductionSettings) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Loads a bundled dictionary and returns a runtime-specialized trie whose values are compiled patch commands.
- loadCompiled(StemmerPatchTrieLoader.Language, boolean, TrieMetadata) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Loads a bundled dictionary using explicit trie compilation metadata and returns a runtime-specialized trie whose values are compiled patch commands.
- localCounts() - Method in class org.egothor.stemmer.trie.ReducedNode
-
Returns the internal aggregated local value-count map.
- LocalValueSummary<V> - Class in org.egothor.stemmer.trie
-
Local terminal value summary of a node.
- LocalValueSummary(V[], int[], int, V, int, int) - Constructor for class org.egothor.stemmer.trie.LocalValueSummary
-
Creates a summary.
- logicalIndex(int, int) - Method in enum class org.egothor.stemmer.WordTraversalDirection
-
Returns the logical character index addressed by the supplied traversal offset.
- lookup(ReductionSignature<V>) - Method in class org.egothor.stemmer.trie.ReductionContext
-
Looks up a canonical node.
- LOWERCASE_WITH_LOCALE_ROOT - Enum constant in enum class org.egothor.stemmer.CaseProcessingMode
-
Normalizes all dictionary content to lower case using
Locale.ROOT.
M
- main(String[]) - Static method in class org.egothor.stemmer.Compile
-
CLI entry point.
- main(String[]) - Static method in class org.egothor.stemmer.StemmerKnowledgeExperimentCli
-
Executes the CLI as a standalone process.
- mapValues(FrequencyTrie<S>, IntFunction<T[]>, ReductionMode, Function<? super S, ? extends T>) - Static method in class org.egothor.stemmer.FrequencyTrieBuilders
-
Reconstructs a compiled trie with every stored value transformed to another value type using default settings for the supplied reduction mode.
- mapValues(FrequencyTrie<S>, IntFunction<T[]>, ReductionSettings, Function<? super S, ? extends T>) - Static method in class org.egothor.stemmer.FrequencyTrieBuilders
-
Reconstructs a compiled trie with every stored value transformed to another value type.
- matchCost(int) - Method in class org.egothor.stemmer.PatchCommandEncoder.Builder
-
Sets cost of a match operation.
- MAXIMUM_KNOWLEDGE_PERCENT - Static variable in class org.egothor.stemmer.StemmerKnowledgeExperiment
-
Maximum supported knowledge percentage.
- MERGE_SUBTREES_WITH_EQUIVALENT_DOMINANT_GET_RESULTS - Enum constant in enum class org.egothor.stemmer.ReductionMode
-
Merges subtrees whose preferred
get()results are equivalent for every reachable key suffix, provided that the locally dominant winner satisfies the configured dominance constraints. - MERGE_SUBTREES_WITH_EQUIVALENT_RANKED_GET_ALL_RESULTS - Enum constant in enum class org.egothor.stemmer.ReductionMode
-
Merges subtrees whose
getAll()results are equivalent for every reachable key suffix and whose local result ordering is the same. - MERGE_SUBTREES_WITH_EQUIVALENT_UNORDERED_GET_ALL_RESULTS - Enum constant in enum class org.egothor.stemmer.ReductionMode
-
Merges subtrees whose
getAll()results are equivalent for every reachable key suffix, regardless of the local ordering of values. - mergeChildren(Map<Character, ReducedNode<V>>) - Method in class org.egothor.stemmer.trie.ReducedNode
-
Merges child references into this node.
- mergeLocalCounts(Map<V, Integer>) - Method in class org.egothor.stemmer.trie.ReducedNode
-
Merges additional local counts into this node.
- metadata() - Method in class org.egothor.stemmer.FrequencyTrie
-
Returns immutable persisted metadata associated with this trie.
- MINIMUM_KNOWLEDGE_PERCENT - Static variable in class org.egothor.stemmer.StemmerKnowledgeExperiment
-
Minimum supported knowledge percentage.
- MutableNode<V> - Class in org.egothor.stemmer.trie
-
Mutable build-time node.
- MutableNode() - Constructor for class org.egothor.stemmer.trie.MutableNode
-
Creates an empty node.
N
- NB_NO - Enum constant in enum class org.egothor.stemmer.StemmerPatchTrieLoader.Language
-
Norwegian Bokmål.
- NL_NL - Enum constant in enum class org.egothor.stemmer.StemmerPatchTrieLoader.Language
-
Dutch.
- NN_NO - Enum constant in enum class org.egothor.stemmer.StemmerPatchTrieLoader.Language
-
Norwegian Nynorsk.
- NodeData<V> - Record Class in org.egothor.stemmer.trie
-
Intermediate node data used during deserialization before child references are resolved.
- NodeData(char[], int[], V[], int...) - Constructor for record class org.egothor.stemmer.trie.NodeData
-
Creates one validated node-data holder.
O
- of(Map<V, Integer>, IntFunction<V[]>) - Static method in class org.egothor.stemmer.trie.LocalValueSummary
-
Builds a summary from local counts.
- onEntry(String, String[], int) - Method in interface org.egothor.stemmer.StemmerDictionaryParser.EntryHandler
-
Accepts one parsed dictionary entry.
- orderedCounts() - Method in class org.egothor.stemmer.trie.CompiledNode
-
Returns the internal ordered-counts array.
- orderedCounts() - Method in class org.egothor.stemmer.trie.LocalValueSummary
-
Returns ordered counts.
- orderedCounts() - Method in record class org.egothor.stemmer.trie.NodeData
-
Returns the internal ordered-counts array.
- orderedValues() - Method in class org.egothor.stemmer.trie.CompiledNode
-
Returns the internal ordered-values array.
- orderedValues() - Method in class org.egothor.stemmer.trie.LocalValueSummary
-
Returns ordered values.
- orderedValues() - Method in record class org.egothor.stemmer.trie.NodeData
-
Returns the internal ordered-values array.
- org.egothor.radixor - module org.egothor.radixor
- org.egothor.stemmer - package org.egothor.stemmer
-
Provides the core Egothor-style stemming infrastructure based on compact patch-command tries.
- org.egothor.stemmer.trie - package org.egothor.stemmer.trie
-
Provides internal trie infrastructure used by
FrequencyTriecompilation, reduction, canonicalization, and binary reconstruction.
P
- Packages - Search tag in Overview
- Section
- parse(Reader, String, CaseProcessingMode, StemmerDictionaryParser.EntryHandler) - Static method in class org.egothor.stemmer.StemmerDictionaryParser
-
Parses a dictionary from a reader.
- parse(Reader, String, StemmerDictionaryParser.EntryHandler) - Static method in class org.egothor.stemmer.StemmerDictionaryParser
-
Parses a dictionary from a reader.
- parse(String, CaseProcessingMode, StemmerDictionaryParser.EntryHandler) - Static method in class org.egothor.stemmer.StemmerDictionaryParser
-
Parses a dictionary file from a path string.
- parse(String, StemmerDictionaryParser.EntryHandler) - Static method in class org.egothor.stemmer.StemmerDictionaryParser
-
Parses a dictionary file from a path string.
- parse(Path, CaseProcessingMode, StemmerDictionaryParser.EntryHandler) - Static method in class org.egothor.stemmer.StemmerDictionaryParser
-
Parses a dictionary file from a filesystem path.
- parse(Path, StemmerDictionaryParser.EntryHandler) - Static method in class org.egothor.stemmer.StemmerDictionaryParser
-
Parses a dictionary file from a filesystem path.
- ParseStatistics(String, int, int, int) - Constructor for record class org.egothor.stemmer.StemmerDictionaryParser.ParseStatistics
-
Creates parsing statistics.
- PatchCommandEncoder - Class in org.egothor.stemmer
-
Encodes a compact patch command that transforms one word form into another and applies such commands back to source words.
- PatchCommandEncoder.Builder - Class in org.egothor.stemmer
-
Fluent builder for creating direction-specialized
PatchCommandEncoderinstances. - PL_PL - Enum constant in enum class org.egothor.stemmer.StemmerPatchTrieLoader.Language
-
Polish.
- preservesAllSources() - Method in class org.egothor.stemmer.CompiledPatchCommand
-
Reports whether this command preserves every non-null source unchanged.
- Project Scope - Search tag in Overview
- Section
- PT_PT - Enum constant in enum class org.egothor.stemmer.StemmerPatchTrieLoader.Language
-
Portuguese.
- put(String, V) - Method in class org.egothor.stemmer.FrequencyTrie.Builder
-
Stores a value for the supplied key and increments its local frequency.
- put(String, V, int) - Method in class org.egothor.stemmer.FrequencyTrie.Builder
-
Stores a value for the supplied key and increments its local frequency by the specified positive count.
R
- Radixor - Search tag in Overview
- Section
- read(DataInputStream) - Method in interface org.egothor.stemmer.FrequencyTrie.ValueStreamCodec
-
Reads one value from the supplied data input.
- read(InputStream) - Static method in class org.egothor.stemmer.StemmerPatchTrieBinaryIO
-
Reads a GZip-compressed binary patch-command trie from an input stream.
- read(InputStream, int) - Static method in class org.egothor.stemmer.StemmerPatchTrieBinaryIO
-
Reads a GZip-compressed binary patch-command trie from an input stream with an optional dense child lookup span override.
- read(String) - Static method in class org.egothor.stemmer.StemmerPatchTrieBinaryIO
-
Reads a GZip-compressed binary patch-command trie from a filesystem path string.
- read(String, int) - Static method in class org.egothor.stemmer.StemmerPatchTrieBinaryIO
-
Reads a GZip-compressed binary patch-command trie from a filesystem path string with an optional dense child lookup span override.
- read(Path) - Static method in class org.egothor.stemmer.StemmerPatchTrieBinaryIO
-
Reads a GZip-compressed binary patch-command trie from a filesystem path.
- read(Path, int) - Static method in class org.egothor.stemmer.StemmerPatchTrieBinaryIO
-
Reads a GZip-compressed binary patch-command trie from a filesystem path with an optional dense child lookup span override.
- readFrom(InputStream, IntFunction<V[]>, FrequencyTrie.ValueStreamCodec<V>) - Static method in class org.egothor.stemmer.FrequencyTrie
-
Reads a compiled trie from the supplied input stream.
- readFrom(InputStream, IntFunction<V[]>, FrequencyTrie.ValueStreamCodec<V>, int) - Static method in class org.egothor.stemmer.FrequencyTrie
-
Reads a compiled trie from the supplied input stream, optionally overriding dense child-index span configuration.
- readMetadata(InputStream) - Static method in class org.egothor.stemmer.StemmerPatchTrieBinaryIO
-
Reads only metadata from a GZip-compressed binary patch-command trie from an input stream.
- readMetadata(String) - Static method in class org.egothor.stemmer.StemmerPatchTrieBinaryIO
-
Reads only metadata from a GZip-compressed binary patch-command trie stored at a filesystem path string.
- readMetadata(Path) - Static method in class org.egothor.stemmer.StemmerPatchTrieBinaryIO
-
Reads only metadata from a GZip-compressed binary patch-command trie stored at a filesystem path.
- ReducedNode<V> - Class in org.egothor.stemmer.trie
-
Canonical reduced node used during subtree merging.
- ReducedNode(ReductionSignature<V>, Map<V, Integer>, Map<Character, ReducedNode<V>>) - Constructor for class org.egothor.stemmer.trie.ReducedNode
-
Creates a new non-accepting reduced node.
- ReducedNode(ReductionSignature<V>, Map<V, Integer>, Map<Character, ReducedNode<V>>, boolean) - Constructor for class org.egothor.stemmer.trie.ReducedNode
-
Creates a new reduced node.
- ReductionContext<V> - Class in org.egothor.stemmer.trie
-
Reduction context used while canonicalizing mutable nodes.
- ReductionContext(ReductionSettings) - Constructor for class org.egothor.stemmer.trie.ReductionContext
-
Creates a new context.
- reductionMode() - Method in record class org.egothor.stemmer.ReductionSettings
-
Returns the value of the
reductionModerecord component. - reductionMode() - Method in record class org.egothor.stemmer.StemmerKnowledgeExperiment.ResultRow
-
Returns the value of the
reductionModerecord component. - ReductionMode - Enum Class in org.egothor.stemmer
-
Defines the subtree reduction strategy applied during trie compilation.
- reductionSettings() - Method in record class org.egothor.stemmer.TrieMetadata
-
Returns the value of the
reductionSettingsrecord component. - ReductionSettings - Record Class in org.egothor.stemmer
-
Immutable reduction configuration used by
FrequencyTrie.Builder. - ReductionSettings(ReductionMode, int, int) - Constructor for record class org.egothor.stemmer.ReductionSettings
-
Creates a new instance without uniform-subtree contraction.
- ReductionSettings(ReductionMode, int, int, boolean) - Constructor for record class org.egothor.stemmer.ReductionSettings
-
Creates a new instance.
- ReductionSignature<V> - Class in org.egothor.stemmer.trie
-
Immutable reduction signature of a full subtree.
- register(ReductionSignature<V>, ReducedNode<V>) - Method in class org.egothor.stemmer.trie.ReductionContext
-
Registers a canonical node.
- REMOVE - Enum constant in enum class org.egothor.stemmer.DiacriticProcessingMode
-
Removes diacritics from dictionary entries before trie construction and removes diacritics from lookup keys before traversal.
- replaceCost(int) - Method in class org.egothor.stemmer.PatchCommandEncoder.Builder
-
Sets cost of a replace operation.
- resourceDirectory() - Method in enum class org.egothor.stemmer.StemmerPatchTrieLoader.Language
-
Returns the resource directory name.
- resourcePath() - Method in enum class org.egothor.stemmer.StemmerPatchTrieLoader.Language
-
Returns the classpath resource path of the bundled stemmer dictionary.
- ResultRow(String, String, boolean, boolean, int, long, int, long, long, long, double, long, long, long, double, double, double, double) - Constructor for record class org.egothor.stemmer.StemmerKnowledgeExperiment.ResultRow
-
Creates one immutable result row.
- RU_RU - Enum constant in enum class org.egothor.stemmer.StemmerPatchTrieLoader.Language
-
Russian.
S
- saveBinary(FrequencyTrie<String>, String) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Saves a compiled patch-command trie as a GZip-compressed binary file.
- saveBinary(FrequencyTrie<String>, Path) - Static method in class org.egothor.stemmer.StemmerPatchTrieLoader
-
Saves a compiled patch-command trie as a GZip-compressed binary file.
- seed() - Method in record class org.egothor.stemmer.StemmerKnowledgeExperiment.ResultRow
-
Returns the value of the
seedrecord component. - settings() - Method in class org.egothor.stemmer.trie.ReductionContext
-
Returns the settings.
- signature() - Method in class org.egothor.stemmer.trie.ReducedNode
-
Returns the reduction signature of this canonical node.
- size() - Method in class org.egothor.stemmer.FrequencyTrie
-
Returns the number of canonical compiled nodes reachable from the root.
- sourceDescription() - Method in record class org.egothor.stemmer.StemmerDictionaryParser.ParseStatistics
-
Returns the value of the
sourceDescriptionrecord component. - startIndex(int) - Method in enum class org.egothor.stemmer.WordTraversalDirection
-
Returns the traversal start index for a character sequence of the supplied length.
- StemmerDictionaryParser - Class in org.egothor.stemmer
-
Parser of line-oriented stemmer dictionary files.
- StemmerDictionaryParser.EntryHandler - Interface in org.egothor.stemmer
-
Callback receiving one parsed dictionary line.
- StemmerDictionaryParser.ParseStatistics - Record Class in org.egothor.stemmer
-
Immutable parsing statistics.
- StemmerKnowledgeExperiment - Class in org.egothor.stemmer
-
Evaluates how stemming quality degrades when the compiled trie is built from only a deterministic subset of the available dictionary knowledge.
- StemmerKnowledgeExperiment() - Constructor for class org.egothor.stemmer.StemmerKnowledgeExperiment
-
Creates a new experiment harness.
- StemmerKnowledgeExperiment.ResultRow - Record Class in org.egothor.stemmer
-
One immutable result row of the knowledge experiment.
- StemmerKnowledgeExperimentCli - Class in org.egothor.stemmer
-
Command-line entry point for the stemmer knowledge experiment.
- StemmerPatchTrieBinaryIO - Class in org.egothor.stemmer
-
Binary persistence helper for patch-command stemmer tries.
- StemmerPatchTrieLoader - Class in org.egothor.stemmer
-
Loader of patch-command tries from bundled stemmer dictionaries.
- StemmerPatchTrieLoader.Language - Enum Class in org.egothor.stemmer
-
Supported bundled stemmer dictionaries.
- storeOriginal() - Method in record class org.egothor.stemmer.StemmerKnowledgeExperiment.ResultRow
-
Returns the value of the
storeOriginalrecord component. - SV_SE - Enum constant in enum class org.egothor.stemmer.StemmerPatchTrieLoader.Language
-
Swedish.
T
- toCsvRow() - Method in record class org.egothor.stemmer.StemmerKnowledgeExperiment.ResultRow
-
Serializes this row as one CSV record.
- toString() - Method in record class org.egothor.stemmer.ReductionSettings
-
Returns a string representation of this record class.
- toString() - Method in record class org.egothor.stemmer.StemmerDictionaryParser.ParseStatistics
-
Returns a string representation of this record class.
- toString() - Method in record class org.egothor.stemmer.StemmerKnowledgeExperiment.ResultRow
-
Returns a string representation of this record class.
- toString() - Method in class org.egothor.stemmer.trie.CompiledNode
-
Returns a short summary useful for debugging and diagnostics.
- toString() - Method in record class org.egothor.stemmer.trie.NodeData
-
Returns a string representation of this record class.
- toString() - Method in record class org.egothor.stemmer.TrieMetadata
-
Returns a string representation of this record class.
- toString() - Method in record class org.egothor.stemmer.ValueCount
-
Returns a string representation of this record class.
- toTextBlock() - Method in record class org.egothor.stemmer.TrieMetadata
-
Returns metadata encoded as a deterministic human-readable text block.
- toTraversalCharacters(String) - Method in enum class org.egothor.stemmer.WordTraversalDirection
-
Returns the characters of the supplied word in this traversal order.
- trainingEntryCount() - Method in record class org.egothor.stemmer.StemmerKnowledgeExperiment.ResultRow
-
Returns the value of the
trainingEntryCountrecord component. - traversalDirection() - Method in class org.egothor.stemmer.CompiledPatchCommand
-
Returns this command traversal direction.
- traversalDirection() - Method in class org.egothor.stemmer.FrequencyTrie
-
Returns the logical key traversal direction used by this trie.
- traversalDirection() - Method in record class org.egothor.stemmer.TrieMetadata
-
Returns the value of the
traversalDirectionrecord component. - traversalDirection(WordTraversalDirection) - Method in class org.egothor.stemmer.PatchCommandEncoder.Builder
-
Sets traversal direction used by the created encoder.
- traversalPathToLogicalKey(CharSequence) - Method in enum class org.egothor.stemmer.WordTraversalDirection
-
Converts a path represented in traversal order back to the logical key form.
- TrieMetadata - Record Class in org.egothor.stemmer
-
Immutable metadata persisted together with a compiled trie artifact.
- TrieMetadata(int, WordTraversalDirection, ReductionSettings, DiacriticProcessingMode, CaseProcessingMode) - Constructor for record class org.egothor.stemmer.TrieMetadata
-
Creates a new metadata instance.
U
- UK_UA - Enum constant in enum class org.egothor.stemmer.StemmerPatchTrieLoader.Language
-
Ukrainian.
- US_UK - Enum constant in enum class org.egothor.stemmer.StemmerPatchTrieLoader.Language
-
English.
V
- value() - Method in record class org.egothor.stemmer.ValueCount
-
Returns the value of the
valuerecord component. - valueCount() - Method in class org.egothor.stemmer.trie.CompiledNode
-
Returns the number of values stored in this node.
- ValueCount<V> - Record Class in org.egothor.stemmer
-
Immutable value-count pair returned by read-only trie queries.
- ValueCount(V, int) - Constructor for record class org.egothor.stemmer.ValueCount
-
Creates a new value-count pair.
- valueCounts() - Method in class org.egothor.stemmer.trie.MutableNode
-
Returns the internal local terminal value-count map.
- valueOf(String) - Static method in enum class org.egothor.stemmer.CaseProcessingMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.egothor.stemmer.DiacriticProcessingMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.egothor.stemmer.ReductionMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.egothor.stemmer.StemmerPatchTrieLoader.Language
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.egothor.stemmer.WordTraversalDirection
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.egothor.stemmer.CaseProcessingMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.egothor.stemmer.DiacriticProcessingMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.egothor.stemmer.ReductionMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.egothor.stemmer.StemmerPatchTrieLoader.Language
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.egothor.stemmer.WordTraversalDirection
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withDefaults(ReductionMode) - Static method in record class org.egothor.stemmer.ReductionSettings
-
Creates settings with default dominance thresholds.
- WordTraversalDirection - Enum Class in org.egothor.stemmer
-
Defines the logical direction in which word characters are traversed.
- write(DataOutputStream, V) - Method in interface org.egothor.stemmer.FrequencyTrie.ValueStreamCodec
-
Writes one value to the supplied data output.
- write(FrequencyTrie<String>, OutputStream) - Static method in class org.egothor.stemmer.StemmerPatchTrieBinaryIO
-
Writes a GZip-compressed binary patch-command trie to an output stream.
- write(FrequencyTrie<String>, String) - Static method in class org.egothor.stemmer.StemmerPatchTrieBinaryIO
-
Writes a GZip-compressed binary patch-command trie to a filesystem path string.
- write(FrequencyTrie<String>, Path) - Static method in class org.egothor.stemmer.StemmerPatchTrieBinaryIO
-
Writes a GZip-compressed binary patch-command trie to a filesystem path.
- writeCsv(Path, List<StemmerKnowledgeExperiment.ResultRow>) - Static method in class org.egothor.stemmer.StemmerKnowledgeExperiment
-
Writes result rows as UTF-8 CSV with a stable fixed header.
- writeTo(OutputStream, FrequencyTrie.ValueStreamCodec<V>) - Method in class org.egothor.stemmer.FrequencyTrie
-
Writes this compiled trie to the supplied output stream.
Y
- YI - Enum constant in enum class org.egothor.stemmer.StemmerPatchTrieLoader.Language
-
Yiddish.
All Classes and Interfaces|All Packages|Constant Field Values
CompiledPatchCommand.compile(String, WordTraversalDirection)once and then reuseCompiledPatchCommand.apply(String). This method repeatedly interprets the serialized patch-command string and is retained only for compatibility before the 3.0.0 migration.