A B C D E F G H I K L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- a - Variable in class morfologik.fsa.builders.FSAUtils.IntIntHolder
- a - Variable in class morfologik.stemming.ArrayViewList
-
Backing array.
- accept(int) - Method in interface morfologik.fsa.StateVisitor
- acceptBom - Variable in class morfologik.tools.BinaryInput
- acceptCr - Variable in class morfologik.tools.BinaryInput
- activePath - Variable in class morfologik.fsa.builders.FSABuilder
-
States on the "active path" (still mutable).
- activePathLen - Variable in class morfologik.fsa.builders.FSABuilder
-
Current length of the active path.
- add(byte[], int, int) - Method in class morfologik.fsa.builders.FSABuilder
-
Add a single sequence of bytes to the FSA.
- add(int, E) - Method in class morfologik.stemming.ArrayViewList
- addAll(int, Collection<? extends E>) - Method in class morfologik.stemming.ArrayViewList
- addReplacement(List<Speller.CandidateData>, String) - Method in class morfologik.speller.Speller
- ADDRESS_OFFSET - Static variable in class morfologik.fsa.builders.ConstantArcSizeFSA
-
Offset of the address field inside an arc.
- ADDRESS_OFFSET - Static variable in class morfologik.fsa.FSA5
-
An offset in the arc structure, where the address and flags field begins.
- advance() - Method in class morfologik.fsa.ByteSequenceIterator
-
Advances to the next available final state.
- allocateState(int) - Method in class morfologik.fsa.builders.FSABuilder
-
Allocate space for a state with the given number of outgoing labels.
- annotation - Variable in class morfologik.fsa.FSA5
-
Annotation character.
- annotationByte - Variable in class morfologik.fsa.builders.FSA5Serializer
- applyReplacements(CharSequence, LinkedHashMap<String, String>) - Static method in class morfologik.stemming.DictionaryLookup
-
Apply partial string replacements from a given map.
- ARC_SIZE - Static variable in class morfologik.fsa.builders.ConstantArcSizeFSA
-
Size of a single arc structure.
- arcs - Variable in class morfologik.fsa.builders.FSAInfo.NodeVisitor
- arcs - Variable in class morfologik.fsa.ByteSequenceIterator
-
An arc stack for DFS when processing the automaton.
- arcs - Variable in class morfologik.fsa.CFSA
-
An array of bytes with the internal representation of the automaton.
- arcs - Variable in class morfologik.fsa.CFSA2
-
An array of bytes with the internal representation of the automaton.
- arcs - Variable in class morfologik.fsa.FSA5
-
An array of bytes with the internal representation of the automaton.
- arcsCount - Variable in class morfologik.fsa.builders.FSAInfo
-
Number of arcs in the automaton, excluding an arcs from the zero node (initial) and an arc from the start node to the root node.
- arcsCountTotal - Variable in class morfologik.fsa.builders.FSAInfo
-
Total number of arcs, counting arcs that physically overlap due to merging.
- areEqual(char, char) - Method in class morfologik.speller.Speller
- ARG_ACCEPT_BOM - Static variable in class morfologik.tools.BinaryInput
- ARG_ACCEPT_CR - Static variable in class morfologik.tools.BinaryInput
- ARG_ENCODING - Static variable in class morfologik.tools.DictApply
- ARG_IGNORE_EMPTY - Static variable in class morfologik.tools.BinaryInput
- ARG_OVERWRITE - Static variable in class morfologik.tools.CliTool
- ARG_VALIDATE - Static variable in class morfologik.tools.CliTool
- ArrayViewList<E> - Class in morfologik.stemming
-
A view over a range of an array.
- ArrayViewList(E[], int, int) - Constructor for class morfologik.stemming.ArrayViewList
- asShort(Set<FSAFlags>) - Static method in enum morfologik.fsa.FSAFlags
- attributes - Variable in class morfologik.stemming.DictionaryMetadata
-
All attributes.
- attrs - Variable in class morfologik.stemming.DictionaryMetadataBuilder
- attrsByPropertyName - Static variable in enum morfologik.stemming.DictionaryAttribute
- author(String) - Method in class morfologik.stemming.DictionaryMetadataBuilder
- AUTHOR - morfologik.stemming.DictionaryAttribute
-
Dictionary author.
- AUTOMATON_HAS_PREFIX - Static variable in class morfologik.fsa.MatchResult
-
The automaton contains a prefix of the input sequence (but the full sequence does not exist).
B
- b - Variable in class morfologik.fsa.builders.FSAUtils.IntIntHolder
- binaryInput - Variable in class morfologik.tools.DictCompile
- binaryInput - Variable in class morfologik.tools.FSACompile
- BinaryInput - Class in morfologik.tools
- BinaryInput() - Constructor for class morfologik.tools.BinaryInput
- BinaryInput(boolean, boolean, boolean) - Constructor for class morfologik.tools.BinaryInput
- BinaryInput.LineConsumer - Interface in morfologik.tools
- BIT_ARC_FINAL - Static variable in class morfologik.fsa.builders.ConstantArcSizeFSA
-
An arc flag indicating the target node of an arc corresponds to a final state.
- BIT_ARC_LAST - Static variable in class morfologik.fsa.builders.ConstantArcSizeFSA
-
An arc flag indicating the arc is last within its state.
- BIT_FINAL_ARC - Static variable in class morfologik.fsa.CFSA
-
Bitmask indicating that an arc corresponds to the last character of a sequence available when building the automaton.
- BIT_FINAL_ARC - Static variable in class morfologik.fsa.CFSA2
-
The arc corresponds to the last character of a sequence available when building the automaton (acceptor transition).
- BIT_FINAL_ARC - Static variable in class morfologik.fsa.FSA5
-
Bit indicating that an arc corresponds to the last character of a sequence available when building the automaton.
- BIT_LAST_ARC - Static variable in class morfologik.fsa.CFSA
-
Bitmask indicating that an arc is the last one of the node's list and the following one belongs to another node.
- BIT_LAST_ARC - Static variable in class morfologik.fsa.CFSA2
-
The arc is the last one from the current node's arcs list.
- BIT_LAST_ARC - Static variable in class morfologik.fsa.FSA5
-
Bit indicating that an arc is the last one of the node's list and the following one belongs to another node.
- BIT_TARGET_NEXT - Static variable in class morfologik.fsa.CFSA
-
Bitmask indicating that the target node of this arc follows it in the compressed automaton structure (no goto field).
- BIT_TARGET_NEXT - Static variable in class morfologik.fsa.CFSA2
-
The target node of this arc follows the last arc of the current state (no goto field).
- BIT_TARGET_NEXT - Static variable in class morfologik.fsa.FSA5
-
Bit indicating that the target node of this arc follows it in the compressed automaton structure (no goto field).
- bits - Variable in enum morfologik.fsa.FSAFlags
-
Bit mask for the corresponding flag.
- boolAttributes - Variable in class morfologik.stemming.DictionaryMetadata
-
All "enabled" boolean attributes.
- booleanValue(String) - Static method in enum morfologik.stemming.DictionaryAttribute
- buffer - Variable in class morfologik.fsa.ByteSequenceIterator
-
A buffer for the current sequence of bytes from the current node to the root.
- BUFFER_GROWTH_SIZE - Static variable in class morfologik.fsa.builders.FSABuilder
-
Internal serialized FSA buffer expand ratio.
- bufferGrowthSize - Variable in class morfologik.fsa.builders.FSABuilder
-
Internal serialized FSA buffer expand ratio.
- BufferUtils - Class in morfologik.stemming
- BufferUtils() - Constructor for class morfologik.stemming.BufferUtils
-
No instances.
- bufferWrapper - Variable in class morfologik.fsa.ByteSequenceIterator
-
Reusable byte buffer wrapper around
ByteSequenceIterator.buffer
. - build() - Method in class morfologik.stemming.DictionaryMetadataBuilder
- build(byte[][]) - Static method in class morfologik.fsa.builders.FSABuilder
-
Build a minimal, deterministic automaton from a sorted list of byte sequences.
- build(Iterable<byte[]>) - Static method in class morfologik.fsa.builders.FSABuilder
-
Build a minimal, deterministic automaton from an iterable list of byte sequences.
- builder() - Static method in class morfologik.stemming.DictionaryMetadata
- byteAsChar(byte) - Static method in class morfologik.tools.FSAInfo
-
Convert a byte to an informative string.
- byteBuffer - Variable in class morfologik.speller.Speller
-
Internal reusable buffer for encoding words into byte arrays using
Speller.encoder
. - byteBuffer - Variable in class morfologik.stemming.DictionaryLookup
-
Internal reusable buffer for encoding words into byte arrays using
DictionaryLookup.encoder
. - ByteSequenceIterator - Class in morfologik.fsa
-
An iterator that traverses the right language of a given node (all sequences reachable from a given node).
- ByteSequenceIterator(FSA) - Constructor for class morfologik.fsa.ByteSequenceIterator
-
Create an instance of the iterator iterating over all automaton sequences.
- ByteSequenceIterator(FSA, int) - Constructor for class morfologik.fsa.ByteSequenceIterator
-
Create an instance of the iterator for a given node.
- bytesToChars(CharsetDecoder, ByteBuffer, CharBuffer) - Static method in class morfologik.stemming.BufferUtils
-
Convert byte buffer's content into characters.
C
- calculateFanOuts(FSA, int) - Static method in class morfologik.fsa.builders.FSAUtils
-
Calculate fan-out ratio (how many nodes have a given number of outgoing arcs).
- call() - Method in class morfologik.tools.DictApply
- call() - Method in class morfologik.tools.DictCompile
- call() - Method in class morfologik.tools.DictDecompile
- call() - Method in class morfologik.tools.FSACompile
- call() - Method in class morfologik.tools.FSADecompile
- call() - Method in class morfologik.tools.FSAInfo
- callSystemExit - Variable in class morfologik.tools.CliTool
- candidate - Variable in class morfologik.speller.Speller
- CandidateData(String, int) - Constructor for class morfologik.speller.Speller.CandidateData
- candLen - Variable in class morfologik.speller.Speller
- CFSA - Class in morfologik.fsa
-
CFSA (Compact Finite State Automaton) binary format implementation.
- CFSA(InputStream) - Constructor for class morfologik.fsa.CFSA
-
Creates a new automaton, reading it from a file in FSA format, version 5.
- CFSA2 - Class in morfologik.fsa
-
CFSA (Compact Finite State Automaton) binary format implementation, version 2:
CFSA2.BIT_TARGET_NEXT
applicable on all arcs, not necessarily the last one. v-coded goto field v-coded perfect hashing numbers, if any 31 most frequent labels integrated with flags byte - CFSA2 - morfologik.tools.SerializationFormat
- CFSA2(InputStream) - Constructor for class morfologik.fsa.CFSA2
-
Reads an automaton from a byte stream.
- CFSA2Serializer - Class in morfologik.fsa.builders
- CFSA2Serializer() - Constructor for class morfologik.fsa.builders.CFSA2Serializer
- charBuffer - Variable in class morfologik.speller.Speller
-
Internal reusable buffer for encoding words into byte arrays using
Speller.encoder
. - charBuffer - Variable in class morfologik.stemming.DictionaryLookup
-
Internal reusable buffer for encoding words into byte arrays using
DictionaryLookup.encoder
. - charSequenceToBytes(CharSequence) - Method in class morfologik.speller.Speller
- charset - Variable in class morfologik.stemming.DictionaryMetadata
- charsToBytes(CharsetEncoder, CharBuffer, ByteBuffer) - Static method in class morfologik.stemming.BufferUtils
-
Convert chars into bytes.
- checkNotNull(T) - Static method in class morfologik.tools.CliTool
- clearAndEnsureCapacity(ByteBuffer, int) - Static method in class morfologik.stemming.BufferUtils
-
Ensure the buffer's capacity is large enough to hold a given number of elements.
- clearAndEnsureCapacity(CharBuffer, int) - Static method in class morfologik.stemming.BufferUtils
-
Ensure the buffer's capacity is large enough to hold a given number of elements.
- CliTool - Class in morfologik.tools
-
Base class for command-line applications.
- CliTool() - Constructor for class morfologik.tools.CliTool
- clone() - Method in class morfologik.stemming.WordData
-
Declare a covariant of
Object.clone()
that returns a deep copy of this object. - cloneCharSequence(CharSequence) - Method in class morfologik.stemming.WordData
-
Clone char sequences only if not immutable.
- close() - Method in class morfologik.tools.DictApply.LineSupplier
- close() - Method in class morfologik.tools.DictApply.ReaderLineSupplier
- code - Variable in enum morfologik.tools.ExitStatus
- COLLECTIONS_ERROR_MESSAGE - Static variable in class morfologik.stemming.WordData
-
Error information if somebody puts us in a Java collection.
- columnHeight - Variable in class morfologik.speller.HMatrix
- commonPrefix(byte[], int, int) - Method in class morfologik.fsa.builders.FSABuilder
- compare(byte[], int, int, byte[], int, int) - Static method in class morfologik.fsa.builders.FSABuilder
-
Lexicographic order of input sequences.
- compareTo(Speller.CandidateData) - Method in class morfologik.speller.Speller.CandidateData
- complete() - Method in class morfologik.fsa.builders.FSABuilder
- computeFirstStates(IntIntHashMap, int, int) - Method in class morfologik.fsa.builders.CFSA2Serializer
-
Compute the set of states that should be linearized first to minimize other states goto length.
- computeInlinkCount(FSA) - Method in class morfologik.fsa.builders.CFSA2Serializer
-
Compute in-link count for each state.
- computeLabelsIndex(FSA) - Method in class morfologik.fsa.builders.CFSA2Serializer
-
Compute a set of labels to be integrated with the flags field.
- CONSTANT_ARC_AUTOMATON_SIZE - morfologik.fsa.builders.FSABuilder.InfoEntry
- ConstantArcSizeFSA - Class in morfologik.fsa.builders
-
An FSA with constant-size arc representation produced directly by
FSABuilder
. - ConstantArcSizeFSA(byte[], int) - Constructor for class morfologik.fsa.builders.ConstantArcSizeFSA
- contains(Object) - Method in class morfologik.stemming.ArrayViewList
- containsNoDigit(String) - Static method in class morfologik.speller.Speller
-
Checks whether a string contains a digit.
- containsSeparators - Variable in class morfologik.speller.Speller
- convert(String) - Method in class morfologik.tools.CustomParameterConverters.PathConverter
- CONVERT_CASE - morfologik.stemming.DictionaryAttribute
-
if the spelling dictionary is supposed to treat upper and lower case as equivalent.
- convertCase() - Method in class morfologik.stemming.DictionaryMetadataBuilder
- convertCase(boolean) - Method in class morfologik.stemming.DictionaryMetadataBuilder
- convertsCase() - Method in class morfologik.speller.Speller
-
Used to determine whether the dictionary supports case conversions.
- countOf(byte, byte[]) - Static method in class morfologik.tools.DictCompile
- createReplacementsMaps() - Method in class morfologik.speller.Speller
- CREATION_DATE - morfologik.stemming.DictionaryAttribute
-
Dictionary creation date.
- creationDate(String) - Method in class morfologik.stemming.DictionaryMetadataBuilder
- CustomParameterConverters - Class in morfologik.tools
- CustomParameterConverters() - Constructor for class morfologik.tools.CustomParameterConverters
- CustomParameterConverters.PathConverter - Class in morfologik.tools
- cuted(int, int, int) - Method in class morfologik.speller.Speller
-
Calculates cut-off edit distance.
D
- data - Variable in class morfologik.fsa.builders.ConstantArcSizeFSA
-
FSA data, serialized as a byte array.
- decode(ByteBuffer, ByteBuffer, ByteBuffer) - Method in interface morfologik.stemming.ISequenceEncoder
-
Decodes
encoded
relative tosource
, optionally reusing the providedByteBuffer
. - decode(ByteBuffer, ByteBuffer, ByteBuffer) - Method in class morfologik.stemming.NoEncoder
- decode(ByteBuffer, ByteBuffer, ByteBuffer) - Method in class morfologik.stemming.TrimInfixAndSuffixEncoder
- decode(ByteBuffer, ByteBuffer, ByteBuffer) - Method in class morfologik.stemming.TrimPrefixAndSuffixEncoder
- decode(ByteBuffer, ByteBuffer, ByteBuffer) - Method in class morfologik.stemming.TrimSuffixEncoder
- decodeFromBytes(byte[], int, int) - Static method in class morfologik.fsa.FSA5
-
Returns an n-byte integer encoded in byte-packed representation.
- decoder - Variable in class morfologik.speller.Speller
-
Charset decoder for the FSA.
- decoder - Variable in class morfologik.stemming.DictionaryIterator
- decoder - Variable in class morfologik.stemming.DictionaryLookup
-
Charset decoder for the FSA.
- decoder - Variable in class morfologik.stemming.WordData
-
Character encoding in internal buffers.
- decodeStems - Variable in class morfologik.stemming.DictionaryIterator
- DEFAULT_ANNOTATION - Static variable in class morfologik.fsa.FSA5
-
Default annotation byte.
- DEFAULT_ATTRIBUTES - Static variable in class morfologik.stemming.DictionaryMetadata
-
Default attribute values.
- DEFAULT_FILLER - Static variable in class morfologik.fsa.FSA5
-
Default filler byte.
- determineInput() - Method in class morfologik.tools.DictApply
- DictApply - Class in morfologik.tools
-
Applies a morphological dictionary automaton to the input.
- DictApply() - Constructor for class morfologik.tools.DictApply
- DictApply(Path, Path, String) - Constructor for class morfologik.tools.DictApply
- DictApply.LineSupplier - Class in morfologik.tools
- DictApply.ReaderLineSupplier - Class in morfologik.tools
- DictCompile - Class in morfologik.tools
-
Decompiles morphological dictionary automaton back to source state.
- DictCompile() - Constructor for class morfologik.tools.DictCompile
- DictCompile(Path, boolean, boolean, boolean, boolean, boolean) - Constructor for class morfologik.tools.DictCompile
- DictDecompile - Class in morfologik.tools
-
Decompiles morphological dictionary automaton back to source state.
- DictDecompile() - Constructor for class morfologik.tools.DictDecompile
- DictDecompile(Path, Path, boolean, boolean) - Constructor for class morfologik.tools.DictDecompile
- dictionary - Variable in class morfologik.stemming.DictionaryLookup
-
The
Dictionary
this lookup is using. - dictionary - Static variable in class morfologik.stemming.polish.PolishStemmer
-
The underlying dictionary, loaded once (lazily).
- dictionary - Variable in class morfologik.tools.DictApply
- Dictionary - Class in morfologik.stemming
-
A dictionary combines
FSA
automaton andDictionaryMetadata
describing the way terms are encoded in the automaton. - Dictionary(FSA, DictionaryMetadata) - Constructor for class morfologik.stemming.Dictionary
-
It is strongly recommended to use static methods in this class for reading dictionaries.
- DictionaryAttribute - Enum in morfologik.stemming
-
Attributes applying to
Dictionary
andDictionaryMetadata
. - DictionaryAttribute(String) - Constructor for enum morfologik.stemming.DictionaryAttribute
-
Private enum instance constructor.
- DictionaryIterator - Class in morfologik.stemming
-
An iterator over
WordData
entries of aDictionary
. - DictionaryIterator(Dictionary, CharsetDecoder, boolean) - Constructor for class morfologik.stemming.DictionaryIterator
- DictionaryLookup - Class in morfologik.stemming
-
This class implements a dictionary lookup of an inflected word over a dictionary previously compiled using the
dict_compile
tool. - DictionaryLookup(Dictionary) - Constructor for class morfologik.stemming.DictionaryLookup
-
Creates a new object of this class using the given FSA for word lookups and encoding for converting characters to bytes.
- dictionaryMetadata - Variable in class morfologik.speller.Speller
-
Features of the compiled dictionary.
- dictionaryMetadata - Variable in class morfologik.stemming.DictionaryLookup
-
Features of the compiled dictionary.
- DictionaryMetadata - Class in morfologik.stemming
-
Description of attributes, their types and default values.
- DictionaryMetadata(Map<DictionaryAttribute, String>) - Constructor for class morfologik.stemming.DictionaryMetadata
-
Create an instance from an attribute map.
- DictionaryMetadataBuilder - Class in morfologik.stemming
-
Helper class to build
DictionaryMetadata
instances. - DictionaryMetadataBuilder() - Constructor for class morfologik.stemming.DictionaryMetadataBuilder
- distance - Variable in class morfologik.speller.Speller.CandidateData
E
- ed(int, int, int, int) - Method in class morfologik.speller.Speller
-
Calculates edit distance.
- editDistance - Variable in class morfologik.speller.HMatrix
- editDistance - Variable in class morfologik.speller.Speller
- effectEditDistance - Variable in class morfologik.speller.Speller
- emitArc(OutputStream, int, byte, int) - Method in class morfologik.fsa.builders.CFSA2Serializer
- emitArc(ByteBuffer, OutputStream, int, int, byte, int) - Method in class morfologik.fsa.builders.FSA5Serializer
- emitArcs(FSA, OutputStream, int[], int, int) - Method in class morfologik.fsa.builders.FSA5Serializer
-
Update arc offsets assuming the given goto length.
- emitNodeArcs(FSA, OutputStream, int, int) - Method in class morfologik.fsa.builders.CFSA2Serializer
-
Emit all arcs of a single node.
- emitNodeData(OutputStream, int) - Method in class morfologik.fsa.builders.CFSA2Serializer
- emitNodeData(ByteBuffer, OutputStream, int, int) - Method in class morfologik.fsa.builders.FSA5Serializer
- emitNodes(FSA, OutputStream, IntArrayList) - Method in class morfologik.fsa.builders.CFSA2Serializer
-
Update arc offsets assuming the given goto length.
- encode(ByteBuffer, ByteBuffer, ByteBuffer) - Method in interface morfologik.stemming.ISequenceEncoder
-
Encodes
target
relative tosource
, optionally reusing the providedByteBuffer
. - encode(ByteBuffer, ByteBuffer, ByteBuffer) - Method in class morfologik.stemming.NoEncoder
- encode(ByteBuffer, ByteBuffer, ByteBuffer) - Method in class morfologik.stemming.TrimInfixAndSuffixEncoder
- encode(ByteBuffer, ByteBuffer, ByteBuffer) - Method in class morfologik.stemming.TrimPrefixAndSuffixEncoder
- encode(ByteBuffer, ByteBuffer, ByteBuffer) - Method in class morfologik.stemming.TrimSuffixEncoder
- encoder - Variable in class morfologik.speller.Speller
-
Charset encoder for the FSA.
- encoder - Variable in class morfologik.stemming.DictionaryLookup
-
Charset encoder for the FSA.
- encoder(EncoderType) - Method in class morfologik.stemming.DictionaryMetadataBuilder
- ENCODER - morfologik.stemming.DictionaryAttribute
-
Locale associated with the dictionary.
- encoderType - Variable in class morfologik.stemming.DictionaryMetadata
-
Sequence encoder.
- EncoderType - Enum in morfologik.stemming
-
Known
ISequenceEncoder
s. - EncoderType() - Constructor for enum morfologik.stemming.EncoderType
- encoding - Variable in class morfologik.stemming.DictionaryMetadata
-
Encoding used for converting bytes to characters and vice versa.
- encoding(String) - Method in class morfologik.stemming.DictionaryMetadataBuilder
- encoding(Charset) - Method in class morfologik.stemming.DictionaryMetadataBuilder
- ENCODING - morfologik.stemming.DictionaryAttribute
-
Character to byte encoding used for strings inside the FSA.
- ensureNoSeparator(ByteBuffer, byte) - Method in class morfologik.tools.DictDecompile
- entriesIter - Variable in class morfologik.stemming.DictionaryIterator
- entry - Variable in class morfologik.stemming.DictionaryIterator
- epsilon - Variable in class morfologik.fsa.builders.ConstantArcSizeFSA
-
An epsilon state.
- epsilon - Variable in class morfologik.fsa.builders.FSABuilder
-
An epsilon state.
- epsilon - Variable in class morfologik.fsa.CFSA2
-
Epsilon node's offset.
- equals(Object) - Method in class morfologik.stemming.WordData
- equivalent(int, int, int) - Method in class morfologik.fsa.builders.FSABuilder
-
Return
true
if two regions inFSABuilder.serialized
are identical. - EQUIVALENT_CHARS - morfologik.stemming.DictionaryAttribute
-
Equivalent characters (treated similarly as equivalent chars with and without diacritics).
- equivalentChars - Variable in class morfologik.stemming.DictionaryMetadata
-
Equivalent characters (treated similarly as equivalent chars with and without diacritics).
- ERROR_CONFIRMATION_REQUIRED - morfologik.tools.ExitStatus
-
A potentially destructive command requires explicit confirmation that was not present.
- ERROR_INVALID_ARGUMENTS - morfologik.tools.ExitStatus
-
Invalid input arguments or their combination.
- ERROR_OTHER - morfologik.tools.ExitStatus
-
Unknown error cause.
- ESTIMATED_MEMORY_CONSUMPTION_MB - morfologik.fsa.builders.FSABuilder.InfoEntry
- EXACT_MATCH - Static variable in class morfologik.fsa.MatchResult
-
The automaton has exactly one match for the input sequence.
- exitStatus - Variable in exception morfologik.tools.ExitStatusException
- ExitStatus - Enum in morfologik.tools
- ExitStatus(int) - Constructor for enum morfologik.tools.ExitStatus
- ExitStatusException - Exception in morfologik.tools
- ExitStatusException(ExitStatus, String, Object...) - Constructor for exception morfologik.tools.ExitStatusException
- ExitStatusException(ExitStatus, Throwable, String, Object...) - Constructor for exception morfologik.tools.ExitStatusException
- EXPAND_SIZE - Static variable in class morfologik.stemming.DictionaryLookup
-
Expand buffers and arrays by this constant.
- expandActivePath(int) - Method in class morfologik.fsa.builders.FSABuilder
-
Append a new mutable state to the active path.
- expandAndRehash() - Method in class morfologik.fsa.builders.FSABuilder
-
Reallocate and rehash the hash set.
- expandBuffers() - Method in class morfologik.fsa.builders.FSABuilder
-
Expand internal buffers for the next state.
- EXPECTED_MAX_STATES - Static variable in class morfologik.fsa.ByteSequenceIterator
-
Default expected depth of the recursion stack (estimated longest sequence in the automaton).
F
- filler - Variable in class morfologik.fsa.FSA5
-
Filler character.
- fillerByte - Variable in class morfologik.fsa.builders.FSA5Serializer
- finalStatesCount - Variable in class morfologik.fsa.builders.FSAInfo
-
Number of final states (number of input sequences stored in the automaton).
- finalStatesIterator - Variable in class morfologik.speller.Speller
-
An iterator for walking along the final states of
Speller.fsa
. - finalStatesIterator - Variable in class morfologik.stemming.DictionaryLookup
-
An iterator for walking along the final states of
DictionaryLookup.fsa
. - FinalStateVisitor(FSA) - Constructor for class morfologik.fsa.builders.FSAInfo.FinalStateVisitor
- findRepl(List<Speller.CandidateData>, int, int, byte[], int, int) - Method in class morfologik.speller.Speller
- findReplacementCandidates(String) - Method in class morfologik.speller.Speller
-
Find and return suggestions by using K.
- findReplacementCandidates(String, boolean) - Method in class morfologik.speller.Speller
- findReplacements(String) - Method in class morfologik.speller.Speller
-
Find suggestions by using K.
- findSimilarWordCandidates(String) - Method in class morfologik.speller.Speller
-
Find similar words even if the original word is a correct word that exists in the dictionary
- findSimilarWords(String) - Method in class morfologik.speller.Speller
- FIRST_RANGE_CODE - Static variable in class morfologik.speller.Speller
- flags - Static variable in class morfologik.fsa.builders.CFSA2Serializer
-
Supported flags.
- flags - Static variable in class morfologik.fsa.builders.FSA5Serializer
-
Supported flags.
- flags - Variable in class morfologik.fsa.CFSA
-
Flags for this automaton version.
- flags - Variable in class morfologik.fsa.CFSA2
-
Flags for this automaton version.
- flags - Variable in class morfologik.fsa.FSA5
-
Flags for this automaton version.
- FLAGS_OFFSET - Static variable in class morfologik.fsa.builders.ConstantArcSizeFSA
-
Offset of the flags field inside an arc.
- FLAGS_SIZE - Static variable in class morfologik.fsa.builders.ConstantArcSizeFSA
-
Size of the flags field (constant for the builder).
- FLEXIBLE - morfologik.fsa.FSAFlags
-
Daciuk: flexible FSA encoding.
- forAllLines(InputStream, byte, BinaryInput.LineConsumer) - Static method in class morfologik.tools.BinaryInput
-
Read all byte-separated sequences.
- format - Variable in class morfologik.tools.DictCompile
- format - Variable in class morfologik.tools.FSACompile
- forms - Variable in class morfologik.stemming.DictionaryLookup
-
Private internal array of reusable word data objects.
- formsList - Variable in class morfologik.stemming.DictionaryLookup
-
A "view" over an array implementing
- freezeState(int) - Method in class morfologik.fsa.builders.FSABuilder
-
Freeze a state: try to find an equivalent state in the interned states dictionary first, if found, return it, otherwise, serialize the mutable state at
activePathIndex
and return it. - FREQ_RANGES - Static variable in class morfologik.speller.Speller
- FREQUENCY_INCLUDED - morfologik.stemming.DictionaryAttribute
-
If the FSA dictionary includes frequency data.
- frequencyIncluded() - Method in class morfologik.stemming.DictionaryMetadataBuilder
- frequencyIncluded(boolean) - Method in class morfologik.stemming.DictionaryMetadataBuilder
- fromPropertyName(String) - Static method in enum morfologik.stemming.DictionaryAttribute
- fromString(String) - Method in enum morfologik.stemming.DictionaryAttribute
-
Converts a string to the given attribute's value.
- fsa - Variable in class morfologik.fsa.builders.FSAInfo.FinalStateVisitor
- fsa - Variable in class morfologik.fsa.builders.FSAInfo.NodeVisitor
- fsa - Variable in class morfologik.fsa.ByteSequenceIterator
-
The FSA to which this iterator belongs.
- fsa - Variable in class morfologik.fsa.FSATraversal
-
Target automaton.
- fsa - Variable in class morfologik.speller.Speller
-
The FSA we are using.
- fsa - Variable in class morfologik.stemming.Dictionary
-
FSA
automaton with the compiled dictionary data. - fsa - Variable in class morfologik.stemming.DictionaryLookup
-
The FSA we are using.
- FSA - Class in morfologik.fsa
-
This is a top abstract class for handling finite state automata.
- FSA() - Constructor for class morfologik.fsa.FSA
- FSA_MAGIC - Static variable in class morfologik.fsa.FSAHeader
-
FSA magic (4 bytes).
- FSA5 - Class in morfologik.fsa
-
FSA binary format implementation for version 5.
- FSA5 - morfologik.tools.SerializationFormat
- FSA5(InputStream) - Constructor for class morfologik.fsa.FSA5
-
Read and wrap a binary automaton in FSA version 5.
- FSA5Serializer - Class in morfologik.fsa.builders
-
Serializes in-memory
FSA
graphs to a binary format compatible with Jan Daciuk'sfsa
's packageFSA5
format. - FSA5Serializer() - Constructor for class morfologik.fsa.builders.FSA5Serializer
- FSABuild - Class in morfologik.tools
-
Deprecated.
- FSABuild() - Constructor for class morfologik.tools.FSABuild
-
Deprecated.
- FSABuilder - Class in morfologik.fsa.builders
-
Fast, memory-conservative finite state automaton builder, returning an in-memory
FSA
that is a tradeoff between construction speed and memory consumption. - FSABuilder() - Constructor for class morfologik.fsa.builders.FSABuilder
- FSABuilder(int) - Constructor for class morfologik.fsa.builders.FSABuilder
- FSABuilder.InfoEntry - Enum in morfologik.fsa.builders
-
Debug and information constants.
- FSACompile - Class in morfologik.tools
-
Build finite state automaton out of text input.
- FSACompile() - Constructor for class morfologik.tools.FSACompile
- FSACompile(Path, Path, SerializationFormat, boolean, boolean, boolean) - Constructor for class morfologik.tools.FSACompile
- FSADecompile - Class in morfologik.tools
-
Dump all byte sequences encoded in a finite state automaton.
- FSADecompile() - Constructor for class morfologik.tools.FSADecompile
- FSADecompile(Path, Path) - Constructor for class morfologik.tools.FSADecompile
- FSADump - Class in morfologik.tools
-
Deprecated.
- FSADump() - Constructor for class morfologik.tools.FSADump
-
Deprecated.
- FSAFlags - Enum in morfologik.fsa
-
FSA automaton flags.
- FSAFlags(int) - Constructor for enum morfologik.fsa.FSAFlags
- FSAHeader - Class in morfologik.fsa
-
Standard FSA file header, as described in
fsa
package documentation. - FSAHeader(byte) - Constructor for class morfologik.fsa.FSAHeader
- FSAInfo - Class in morfologik.fsa.builders
-
Compute additional information about an FSA: number of arcs, nodes, etc.
- FSAInfo - Class in morfologik.tools
-
Print extra information about a compiled automaton file.
- FSAInfo() - Constructor for class morfologik.tools.FSAInfo
- FSAInfo(int, int, int, int) - Constructor for class morfologik.fsa.builders.FSAInfo
- FSAInfo(Path) - Constructor for class morfologik.tools.FSAInfo
- FSAInfo(FSA) - Constructor for class morfologik.fsa.builders.FSAInfo
- FSAInfo.FinalStateVisitor - Class in morfologik.fsa.builders
-
Computes the exact number of final states.
- FSAInfo.NodeVisitor - Class in morfologik.fsa.builders
-
Computes the exact number of states and nodes by recursively traversing the FSA.
- FSASerializer - Interface in morfologik.fsa.builders
-
All FSA serializers (to binary formats) will implement this interface.
- FSATraversal - Class in morfologik.fsa
-
This class implements some common matching and scanning operations on a generic FSA.
- FSATraversal(FSA) - Constructor for class morfologik.fsa.FSATraversal
-
Traversals of the given FSA.
- FSAUtils - Class in morfologik.fsa.builders
-
Other FSA-related utilities not directly associated with the class hierarchy.
- FSAUtils() - Constructor for class morfologik.fsa.builders.FSAUtils
- FSAUtils.IntIntHolder - Class in morfologik.fsa.builders
G
- get() - Method in enum morfologik.stemming.EncoderType
- get(int) - Method in class morfologik.stemming.ArrayViewList
- get(int, int) - Method in class morfologik.speller.HMatrix
-
Provide an item of hMatrix indexed by indices.
- getAllReplacements(String, int, int) - Method in class morfologik.speller.Speller
- getArc(int, byte) - Method in class morfologik.fsa.builders.ConstantArcSizeFSA
- getArc(int, byte) - Method in class morfologik.fsa.CFSA
- getArc(int, byte) - Method in class morfologik.fsa.CFSA2
- getArc(int, byte) - Method in class morfologik.fsa.FSA
- getArc(int, byte) - Method in class morfologik.fsa.FSA5
- getArcCount(int) - Method in class morfologik.fsa.FSA
- getArcLabel(int) - Method in class morfologik.fsa.builders.ConstantArcSizeFSA
- getArcLabel(int) - Method in class morfologik.fsa.builders.FSABuilder
-
Get label's arc.
- getArcLabel(int) - Method in class morfologik.fsa.CFSA
- getArcLabel(int) - Method in class morfologik.fsa.CFSA2
- getArcLabel(int) - Method in class morfologik.fsa.FSA
- getArcLabel(int) - Method in class morfologik.fsa.FSA5
- getArcTarget(int) - Method in class morfologik.fsa.builders.ConstantArcSizeFSA
-
Fills the target state address of an arc.
- getArcTarget(int) - Method in class morfologik.fsa.builders.FSABuilder
-
Returns the address of an arc.
- getAttributes() - Method in class morfologik.stemming.DictionaryMetadata
- getCandLen() - Method in class morfologik.speller.Speller
- getConverter(Class<?>) - Method in class morfologik.tools.CustomParameterConverters
- getDecoder() - Method in class morfologik.stemming.DictionaryMetadata
- getDestinationNodeOffset(int) - Method in class morfologik.fsa.CFSA
-
Returns the address of the node pointed to by this arc.
- getDestinationNodeOffset(int) - Method in class morfologik.fsa.CFSA2
-
Returns the address of the node pointed to by this arc.
- getDestinationNodeOffset(int) - Method in class morfologik.fsa.FSA5
-
Returns the address of the node pointed to by this arc.
- getDictionary() - Method in class morfologik.stemming.DictionaryLookup
- getDictionary() - Method in class morfologik.stemming.polish.PolishStemmer
- getDistance() - Method in class morfologik.speller.Speller.CandidateData
- getEffectiveED() - Method in class morfologik.speller.Speller
- getEncoder() - Method in class morfologik.stemming.DictionaryMetadata
- getEncoding() - Method in class morfologik.stemming.DictionaryMetadata
- getEndNode(int) - Method in class morfologik.fsa.builders.ConstantArcSizeFSA
- getEndNode(int) - Method in class morfologik.fsa.CFSA
- getEndNode(int) - Method in class morfologik.fsa.CFSA2
- getEndNode(int) - Method in class morfologik.fsa.FSA
- getEndNode(int) - Method in class morfologik.fsa.FSA5
- getEquivalentChars() - Method in class morfologik.stemming.DictionaryMetadata
- getExpectedMetadataFileName(String) - Static method in class morfologik.stemming.DictionaryMetadata
-
Returns the expected name of the metadata file, based on the name of the dictionary file.
- getExpectedMetadataLocation(Path) - Static method in class morfologik.stemming.DictionaryMetadata
- getFirstArc(int) - Method in class morfologik.fsa.builders.ConstantArcSizeFSA
- getFirstArc(int) - Method in class morfologik.fsa.CFSA
- getFirstArc(int) - Method in class morfologik.fsa.CFSA2
- getFirstArc(int) - Method in class morfologik.fsa.FSA
- getFirstArc(int) - Method in class morfologik.fsa.FSA5
- getFlags() - Method in class morfologik.fsa.builders.CFSA2Serializer
-
Return supported flags.
- getFlags() - Method in class morfologik.fsa.builders.ConstantArcSizeFSA
- getFlags() - Method in class morfologik.fsa.builders.FSA5Serializer
-
Return supported flags.
- getFlags() - Method in interface morfologik.fsa.builders.FSASerializer
- getFlags() - Method in class morfologik.fsa.CFSA
- getFlags() - Method in class morfologik.fsa.CFSA2
- getFlags() - Method in class morfologik.fsa.FSA
- getFlags() - Method in class morfologik.fsa.FSA5
- getFrequency(CharSequence) - Method in class morfologik.speller.Speller
-
Get the frequency value for a word form.
- getInfo() - Method in class morfologik.fsa.builders.FSABuilder
- getInputConversionPairs() - Method in class morfologik.stemming.DictionaryMetadata
- getLocale() - Method in class morfologik.stemming.DictionaryMetadata
- getNextArc(int) - Method in class morfologik.fsa.builders.ConstantArcSizeFSA
- getNextArc(int) - Method in class morfologik.fsa.CFSA
- getNextArc(int) - Method in class morfologik.fsa.CFSA2
- getNextArc(int) - Method in class morfologik.fsa.FSA
- getNextArc(int) - Method in class morfologik.fsa.FSA5
- getOutputConversionPairs() - Method in class morfologik.stemming.DictionaryMetadata
- getReplacementPairs() - Method in class morfologik.stemming.DictionaryMetadata
- getRightLanguageCount(int) - Method in class morfologik.fsa.CFSA
- getRightLanguageCount(int) - Method in class morfologik.fsa.CFSA2
- getRightLanguageCount(int) - Method in class morfologik.fsa.FSA
- getRightLanguageCount(int) - Method in class morfologik.fsa.FSA5
-
Returns the number encoded at the given node.
- getRootNode() - Method in class morfologik.fsa.builders.ConstantArcSizeFSA
- getRootNode() - Method in class morfologik.fsa.CFSA
-
Returns the start node of this automaton.
- getRootNode() - Method in class morfologik.fsa.CFSA2
- getRootNode() - Method in class morfologik.fsa.FSA
- getRootNode() - Method in class morfologik.fsa.FSA5
-
Returns the start node of this automaton.
- getSeparator() - Method in class morfologik.stemming.DictionaryMetadata
- getSeparatorAsChar() - Method in class morfologik.stemming.DictionaryMetadata
- getSeparatorChar() - Method in class morfologik.stemming.DictionaryLookup
- getSequenceEncoderType() - Method in class morfologik.stemming.DictionaryMetadata
- getSequences() - Method in class morfologik.fsa.FSA
- getSequences(int) - Method in class morfologik.fsa.FSA
-
Returns an iterator over all binary sequences starting at the given FSA state (node) and ending in final nodes.
- getSerializer() - Method in enum morfologik.tools.SerializationFormat
- getStem() - Method in class morfologik.stemming.WordData
- getStemBytes(ByteBuffer) - Method in class morfologik.stemming.WordData
-
Copy the stem's binary data (no charset decoding) to a custom byte buffer.
- getTag() - Method in class morfologik.stemming.WordData
- getTagBytes(ByteBuffer) - Method in class morfologik.stemming.WordData
-
Copy the tag's binary data (no charset decoding) to a custom byte buffer.
- getWord() - Method in class morfologik.speller.Speller.CandidateData
- getWord() - Method in class morfologik.stemming.WordData
- getWordBytes(ByteBuffer) - Method in class morfologik.stemming.WordData
-
Copy the inflected word's binary data (no charset decoding) to a custom byte buffer.
- getWordLen() - Method in class morfologik.speller.Speller
- gtl - Variable in class morfologik.fsa.CFSA
-
Number of bytes each address takes in full, expanded form (goto length).
- gtl - Variable in class morfologik.fsa.FSA5
-
Number of bytes each address takes in full, expanded form (goto length).
H
- hasCr(byte[], int) - Static method in class morfologik.tools.BinaryInput
- hash(int, int) - Method in class morfologik.fsa.builders.FSABuilder
-
Hash code of a fragment of
FSABuilder.serialized
array. - hashCode() - Method in class morfologik.stemming.WordData
- hashSet - Variable in class morfologik.fsa.builders.FSABuilder
-
Hash set of state addresses in
FSABuilder.serialized
, hashed byFSABuilder.hash(int, int)
. - hashSize - Variable in class morfologik.fsa.builders.FSABuilder
-
Number of entries currently stored in
FSABuilder.hashSet
. - hasNext() - Method in class morfologik.fsa.ByteSequenceIterator
-
Returns
true
if there are still elements in this iterator. - hasNext() - Method in class morfologik.stemming.DictionaryIterator
- hasNumbers - Variable in class morfologik.fsa.CFSA2
-
If
true
states are prepended with numbers. - help - Variable in class morfologik.tools.CliTool
- helpDisplayCommandOptions(PrintStream, JCommander) - Static method in class morfologik.tools.CliTool
- helpDisplayCommandOptions(PrintStream, String, JCommander) - Static method in class morfologik.tools.CliTool
- hMatrix - Variable in class morfologik.speller.Speller
- HMatrix - Class in morfologik.speller
-
Keeps track of already computed values of edit distance.
- HMatrix(int, int) - Constructor for class morfologik.speller.HMatrix
-
Allocates memory and initializes matrix (constructor).
I
- IGNORE_ALL_UPPERCASE - morfologik.stemming.DictionaryAttribute
-
If the spelling dictionary is supposed to ignore ALL UPPERCASE words.
- IGNORE_CAMEL_CASE - morfologik.stemming.DictionaryAttribute
-
If the spelling dictionary is supposed to ignore CamelCase words.
- IGNORE_DIACRITICS - morfologik.stemming.DictionaryAttribute
-
If the spelling dictionary is supposed to ignore diacritics, so that 'a' would be treated as equivalent to 'Ä…'.
- IGNORE_NUMBERS - morfologik.stemming.DictionaryAttribute
-
If the spelling dictionary is supposed to ignore words containing digits
- IGNORE_PUNCTUATION - morfologik.stemming.DictionaryAttribute
-
If the spelling dictionary is supposed to ignore punctuation.
- ignoreAllUppercase() - Method in class morfologik.stemming.DictionaryMetadataBuilder
- ignoreAllUppercase(boolean) - Method in class morfologik.stemming.DictionaryMetadataBuilder
- ignoreCamelCase() - Method in class morfologik.stemming.DictionaryMetadataBuilder
- ignoreCamelCase(boolean) - Method in class morfologik.stemming.DictionaryMetadataBuilder
- ignoreDiacritics() - Method in class morfologik.stemming.DictionaryMetadataBuilder
- ignoreDiacritics(boolean) - Method in class morfologik.stemming.DictionaryMetadataBuilder
- ignoreEmpty - Variable in class morfologik.tools.BinaryInput
- ignoreNumbers() - Method in class morfologik.stemming.DictionaryMetadataBuilder
- ignoreNumbers(boolean) - Method in class morfologik.stemming.DictionaryMetadataBuilder
- ignorePunctuation() - Method in class morfologik.stemming.DictionaryMetadataBuilder
- ignorePunctuation(boolean) - Method in class morfologik.stemming.DictionaryMetadataBuilder
- index - Variable in class morfologik.fsa.MatchResult
-
Input sequence's index, interpretation depends on
MatchResult.kind
. - indexOf(byte, byte[], int) - Static method in class morfologik.tools.DictCompile
- indexOf(Object) - Method in class morfologik.stemming.ArrayViewList
- INFIX - morfologik.stemming.EncoderType
- inflectedBuffer - Variable in class morfologik.stemming.DictionaryIterator
- inflectedCharBuffer - Variable in class morfologik.stemming.DictionaryIterator
- info - Variable in class morfologik.fsa.builders.FSABuilder
-
Information about the automaton and its compilation.
- InfoEntry(String) - Constructor for enum morfologik.fsa.builders.FSABuilder.InfoEntry
- initialUppercase(String) - Method in class morfologik.speller.Speller
- input - Variable in class morfologik.tools.DictApply
- input - Variable in class morfologik.tools.DictCompile
- input - Variable in class morfologik.tools.DictDecompile
- input - Variable in class morfologik.tools.FSACompile
- input - Variable in class morfologik.tools.FSADecompile
- input - Variable in class morfologik.tools.FSAInfo
- INPUT_CONVERSION - morfologik.stemming.DictionaryAttribute
-
Input conversion pairs to replace non-standard characters before search in a speller dictionary.
- inputConversion - Variable in class morfologik.stemming.DictionaryMetadata
-
Conversion pairs for input conversion, for example to replace ligatures.
- inputEncoding - Variable in class morfologik.tools.DictApply
- IntIntHolder() - Constructor for class morfologik.fsa.builders.FSAUtils.IntIntHolder
- IntIntHolder(int, int) - Constructor for class morfologik.fsa.builders.FSAUtils.IntIntHolder
- isAllUppercase(String) - Method in class morfologik.speller.Speller
-
Returns true if
str
is made up of all-uppercase characters (ignoring characters for which no upper-/lowercase distinction exists). - isAlphabetic(int) - Static method in class morfologik.speller.Speller
-
Copy-paste of Character.isAlphabetic() (needed as we require only 1.6)
- isArcFinal(int) - Method in class morfologik.fsa.builders.ConstantArcSizeFSA
- isArcFinal(int) - Method in class morfologik.fsa.builders.FSABuilder
-
Is this arc final?
- isArcFinal(int) - Method in class morfologik.fsa.CFSA
- isArcFinal(int) - Method in class morfologik.fsa.CFSA2
- isArcFinal(int) - Method in class morfologik.fsa.FSA
- isArcFinal(int) - Method in class morfologik.fsa.FSA5
- isArcLast(int) - Method in class morfologik.fsa.builders.ConstantArcSizeFSA
- isArcLast(int) - Method in class morfologik.fsa.builders.FSABuilder
-
Is this arc the state's last?
- isArcLast(int) - Method in class morfologik.fsa.CFSA
-
Returns
true
if this arc hasNEXT
bit set. - isArcLast(int) - Method in class morfologik.fsa.CFSA2
-
Returns
true
if this arc hasNEXT
bit set. - isArcLast(int) - Method in class morfologik.fsa.FSA5
-
Returns
true
if this arc hasNEXT
bit set. - isArcNotTerminal(int, int) - Method in class morfologik.speller.Speller
- isArcTerminal(int) - Method in class morfologik.fsa.builders.ConstantArcSizeFSA
- isArcTerminal(int) - Method in class morfologik.fsa.CFSA
- isArcTerminal(int) - Method in class morfologik.fsa.CFSA2
- isArcTerminal(int) - Method in class morfologik.fsa.FSA
- isArcTerminal(int) - Method in class morfologik.fsa.FSA5
- isBeforeSeparator(int) - Method in class morfologik.speller.Speller
- isCamelCase(String) - Method in class morfologik.speller.Speller
- isConvertingCase() - Method in class morfologik.stemming.DictionaryMetadata
- isEndOfCandidate(int, int) - Method in class morfologik.speller.Speller
- ISequenceEncoder - Interface in morfologik.stemming
-
The logic of encoding one sequence of bytes relative to another sequence of bytes.
- isFrequencyIncluded() - Method in class morfologik.stemming.DictionaryMetadata
- isIgnoringAllUppercase() - Method in class morfologik.stemming.DictionaryMetadata
- isIgnoringCamelCase() - Method in class morfologik.stemming.DictionaryMetadata
- isIgnoringDiacritics() - Method in class morfologik.stemming.DictionaryMetadata
- isIgnoringNumbers() - Method in class morfologik.stemming.DictionaryMetadata
- isIgnoringPunctuation() - Method in class morfologik.stemming.DictionaryMetadata
- isInDictionary(CharSequence) - Method in class morfologik.speller.Speller
-
Test whether the word is found in the dictionary.
- isLabelCompressed(int) - Method in class morfologik.fsa.CFSA
- isMisspelled(String) - Method in class morfologik.speller.Speller
-
Checks whether the word is misspelled, by performing a series of checks according to properties of the dictionary.
- isMixedCase(String) - Method in class morfologik.speller.Speller
- isNextSet(int) - Method in class morfologik.fsa.CFSA
- isNextSet(int) - Method in class morfologik.fsa.CFSA2
- isNextSet(int) - Method in class morfologik.fsa.FSA5
- isNotAllLowercase(String) - Method in class morfologik.speller.Speller
-
Returns true if
str
is made up of all-lowercase characters (ignoring characters for which no upper-/lowercase distinction exists). - isNotCapitalizedWord(String) - Method in class morfologik.speller.Speller
- isNotEmpty(String) - Static method in class morfologik.speller.Speller
-
Helper method to replace calls to "".equals().
- isSet(int) - Method in enum morfologik.fsa.FSAFlags
- isSupportingRunOnWords() - Method in class morfologik.stemming.DictionaryMetadata
- IStemmer - Interface in morfologik.stemming
-
A generic "stemmer" interface in Morfologik.
- iterator() - Method in class morfologik.fsa.FSA
-
Returns an iterator over all binary sequences starting from the initial FSA state (node) and ending in final nodes.
- iterator() - Method in class morfologik.stemming.DictionaryLookup
-
Return an iterator over all
WordData
entries available in the embeddedDictionary
. - iterator() - Method in class morfologik.stemming.polish.PolishStemmer
-
Iterates over all dictionary forms stored in this stemmer.
K
- kind - Variable in class morfologik.fsa.MatchResult
-
One of the match types defined in this class.
L
- LABEL_INDEX_BITS - Static variable in class morfologik.fsa.CFSA2
-
The count of bits assigned to storing an indexed label.
- LABEL_INDEX_MASK - Static variable in class morfologik.fsa.CFSA2
-
Masks only the M bits of a flag byte.
- LABEL_INDEX_SIZE - Static variable in class morfologik.fsa.CFSA2
-
Maximum size of the labels index.
- LABEL_OFFSET - Static variable in class morfologik.fsa.builders.ConstantArcSizeFSA
-
Offset of the label field inside an arc.
- LABEL_SIZE - Static variable in class morfologik.fsa.builders.ConstantArcSizeFSA
-
Size of the label field (constant for the builder).
- labelMapping - Variable in class morfologik.fsa.CFSA
-
Label mapping for arcs of type (1) (see class documentation).
- labelMapping - Variable in class morfologik.fsa.CFSA2
-
Label mapping for M-indexed labels.
- labelsIndex - Variable in class morfologik.fsa.builders.CFSA2Serializer
-
The most frequent labels for integrating with the flags field.
- labelsInvIndex - Variable in class morfologik.fsa.builders.CFSA2Serializer
-
Inverted index of labels to be integrated with flags field.
- Launcher - Class in morfologik.tools
-
JAR entry point.
- Launcher() - Constructor for class morfologik.tools.Launcher
- length - Variable in class morfologik.stemming.ArrayViewList
- LEXICAL_ORDERING - Static variable in class morfologik.fsa.builders.FSABuilder
-
A comparator comparing full byte arrays.
- license(String) - Method in class morfologik.stemming.DictionaryMetadataBuilder
- LICENSE - morfologik.stemming.DictionaryAttribute
-
Dictionary license attribute.
- linearize(FSA) - Method in class morfologik.fsa.builders.CFSA2Serializer
-
Linearization of states.
- linearize(FSA) - Method in class morfologik.fsa.builders.FSA5Serializer
-
Linearization of states.
- linearizeAndCalculateOffsets(FSA, IntArrayList, IntArrayList, IntIntHashMap) - Method in class morfologik.fsa.builders.CFSA2Serializer
-
Linearize all states, putting
states
in front of the automaton and calculating stable state offsets. - linearizeState(FSA, IntStack, IntArrayList, BitSet, int) - Method in class morfologik.fsa.builders.CFSA2Serializer
-
Add a state to linearized list.
- lineReader - Variable in class morfologik.tools.DictApply.ReaderLineSupplier
- LineSupplier() - Constructor for class morfologik.tools.DictApply.LineSupplier
- listIterator() - Method in class morfologik.stemming.ArrayViewList
- listIterator(int) - Method in class morfologik.stemming.ArrayViewList
- locale - Variable in class morfologik.stemming.DictionaryMetadata
- locale(String) - Method in class morfologik.stemming.DictionaryMetadataBuilder
- locale(Locale) - Method in class morfologik.stemming.DictionaryMetadataBuilder
- LOCALE - morfologik.stemming.DictionaryAttribute
-
Locale associated with the dictionary.
- log(Level, String, Object...) - Method in class morfologik.fsa.builders.CFSA2Serializer
- logger - Variable in class morfologik.fsa.builders.CFSA2Serializer
- lookup - Variable in class morfologik.stemming.polish.PolishStemmer
-
Dictionary lookup delegate.
- lookup(CharSequence) - Method in class morfologik.stemming.DictionaryLookup
-
Searches the automaton for a symbol sequence equal to
word
, followed by a separator. - lookup(CharSequence) - Method in interface morfologik.stemming.IStemmer
-
Returns a list of
WordData
entries for a given word. - lookup(CharSequence) - Method in class morfologik.stemming.polish.PolishStemmer
-
Returns a list of
WordData
entries for a given word.
M
- main(String[]) - Static method in class morfologik.tools.DictApply
- main(String[]) - Static method in class morfologik.tools.DictCompile
- main(String[]) - Static method in class morfologik.tools.DictDecompile
- main(String[]) - Static method in class morfologik.tools.FSACompile
- main(String[]) - Static method in class morfologik.tools.FSADecompile
- main(String[]) - Static method in class morfologik.tools.FSAInfo
- main(String[]) - Static method in class morfologik.tools.Launcher
- main(String[], CliTool) - Static method in class morfologik.tools.CliTool
-
Parse and execute a single command.
- main(String[], CliTool...) - Static method in class morfologik.tools.CliTool
-
Parse and execute one of the commands.
- match(byte[]) - Method in class morfologik.fsa.FSATraversal
- match(byte[], int) - Method in class morfologik.fsa.FSATraversal
- match(byte[], int, int, int) - Method in class morfologik.fsa.FSATraversal
-
Finds a matching path in the dictionary for a given sequence of labels from
sequence
and starting at nodenode
. - match(MatchResult, byte[], int, int, int) - Method in class morfologik.fsa.FSATraversal
-
Same as
FSATraversal.match(byte[], int, int, int)
, but allows passing a reusableMatchResult
object so that no intermediate garbage is produced. - matchAnyToOne(int, int) - Method in class morfologik.speller.Speller
- matchAnyToTwo(int, int) - Method in class morfologik.speller.Speller
- matcher - Variable in class morfologik.speller.Speller
-
An FSA used for lookups.
- matcher - Variable in class morfologik.stemming.DictionaryLookup
-
An FSA used for lookups.
- matchResult - Variable in class morfologik.speller.Speller
-
Reusable match result.
- matchResult - Variable in class morfologik.stemming.DictionaryLookup
-
Reusable match result.
- MatchResult - Class in morfologik.fsa
-
A matching result returned from
FSATraversal
. - MatchResult() - Constructor for class morfologik.fsa.MatchResult
- MatchResult(int) - Constructor for class morfologik.fsa.MatchResult
- MatchResult(int, int, int) - Constructor for class morfologik.fsa.MatchResult
- MAX_ACTIVE_PATH_LENGTH - morfologik.fsa.builders.FSABuilder.InfoEntry
- MAX_ARC_SIZE - Static variable in class morfologik.fsa.builders.FSA5Serializer
-
Maximum number of bytes for a serialized arc.
- MAX_HEADER_LENGTH - Static variable in class morfologik.fsa.FSAHeader
-
Maximum length of the header block.
- MAX_LABELS - Static variable in class morfologik.fsa.builders.FSABuilder
-
Maximum number of labels from a single state.
- MAX_NODE_DATA_SIZE - Static variable in class morfologik.fsa.builders.FSA5Serializer
-
Maximum number of bytes for per-node data.
- MAX_RECURSION_LEVEL - Static variable in class morfologik.speller.Speller
- MAX_WORD_LENGTH - Static variable in class morfologik.speller.Speller
-
Maximum length of the word to be checked.
- MB - Static variable in class morfologik.fsa.builders.FSABuilder
-
A megabyte.
- metadata - Variable in class morfologik.stemming.Dictionary
-
Metadata associated with the dictionary.
- METADATA_FILE_EXTENSION - Static variable in class morfologik.stemming.DictionaryMetadata
-
Expected metadata file extension.
- min(int, int, int) - Static method in class morfologik.speller.Speller
- MIN_WORD_LENGTH - Static variable in class morfologik.speller.Speller
- morfologik.fsa - package morfologik.fsa
- morfologik.fsa.builders - package morfologik.fsa.builders
- morfologik.speller - package morfologik.speller
- morfologik.stemming - package morfologik.stemming
- morfologik.stemming.polish - package morfologik.stemming.polish
- morfologik.tools - package morfologik.tools
N
- next() - Method in class morfologik.fsa.ByteSequenceIterator
- next() - Method in class morfologik.stemming.DictionaryIterator
- nextArcOffset - Variable in class morfologik.fsa.builders.FSABuilder
-
The next offset at which an arc will be added to the given state on
FSABuilder.activePath
. - NEXTBIT - morfologik.fsa.FSAFlags
-
Daciuk: next bit in use.
- nextElement - Variable in class morfologik.fsa.ByteSequenceIterator
-
An internal cache for the next element in the FSA
- nextLine() - Method in class morfologik.tools.DictApply.LineSupplier
- nextLine() - Method in class morfologik.tools.DictApply.ReaderLineSupplier
- NO_MATCH - Static variable in class morfologik.fsa.MatchResult
-
The automaton has no match for the input sequence and no sequence in the automaton is a prefix of the input.
- NO_STATE - Static variable in class morfologik.fsa.builders.CFSA2Serializer
-
No-state id.
- node - Variable in class morfologik.fsa.MatchResult
-
Automaton node, interpretation depends on the
MatchResult.kind
. - nodeCount - Variable in class morfologik.fsa.builders.FSAInfo
-
Number of nodes in the automaton.
- nodeDataLength - Variable in class morfologik.fsa.CFSA
-
The length of the node header structure (if the automaton was compiled with
NUMBERS
option). - nodeDataLength - Variable in class morfologik.fsa.FSA5
-
The length of the node header structure (if the automaton was compiled with
NUMBERS
option). - nodes - Variable in class morfologik.fsa.builders.FSAInfo.NodeVisitor
- NodeVisitor(FSA) - Constructor for class morfologik.fsa.builders.FSAInfo.NodeVisitor
- NoEncoder - Class in morfologik.stemming
-
No relative encoding at all (full target form is returned).
- NoEncoder() - Constructor for class morfologik.stemming.NoEncoder
- NONE - morfologik.stemming.EncoderType
- numbers - Variable in class morfologik.fsa.builders.CFSA2Serializer
-
A hash map of [state, right-language-count] pairs.
- numbers - Variable in class morfologik.fsa.builders.FSA5Serializer
-
A hash map of [state, right-language-count] pairs.
- NUMBERS - morfologik.fsa.FSAFlags
-
The FSA contains right-language count numbers on states.
O
- offsets - Variable in class morfologik.fsa.builders.CFSA2Serializer
-
A hash map of [state, offset] pairs.
- offsets - Variable in class morfologik.fsa.builders.FSA5Serializer
-
A hash map of [state, offset] pairs.
- origDistance - Variable in class morfologik.speller.Speller.CandidateData
- output - Variable in class morfologik.tools.DictDecompile
- output - Variable in class morfologik.tools.FSACompile
- output - Variable in class morfologik.tools.FSADecompile
- OUTPUT_CONVERSION - morfologik.stemming.DictionaryAttribute
-
Output conversion pairs to replace non-standard characters before search in a speller dictionary.
- outputConversion - Variable in class morfologik.stemming.DictionaryMetadata
-
Conversion pairs for output conversion, for example to replace ligatures.
- overwrite - Variable in class morfologik.tools.DictCompile
- overwrite - Variable in class morfologik.tools.DictDecompile
P
- p - Variable in class morfologik.speller.HMatrix
- PathConverter() - Constructor for class morfologik.tools.CustomParameterConverters.PathConverter
- perfectHash(byte[]) - Method in class morfologik.fsa.FSATraversal
- perfectHash(byte[], int, int, int) - Method in class morfologik.fsa.FSATraversal
-
Calculate perfect hash for a given input sequence of bytes.
- PolishStemmer - Class in morfologik.stemming.polish
-
A dictionary-based stemmer for the Polish language.
- PolishStemmer() - Constructor for class morfologik.stemming.polish.PolishStemmer
- position - Variable in class morfologik.fsa.ByteSequenceIterator
-
Current processing depth in
ByteSequenceIterator.arcs
. - PREFIX - morfologik.stemming.EncoderType
- prefixBytes() - Method in interface morfologik.stemming.ISequenceEncoder
-
Deprecated.
- prefixBytes() - Method in class morfologik.stemming.NoEncoder
- prefixBytes() - Method in class morfologik.stemming.TrimInfixAndSuffixEncoder
- prefixBytes() - Method in class morfologik.stemming.TrimPrefixAndSuffixEncoder
- prefixBytes() - Method in class morfologik.stemming.TrimSuffixEncoder
- previous - Variable in class morfologik.fsa.builders.FSABuilder
-
Previous sequence added to the automaton in
FSABuilder.add(byte[], int, int)
. - previousLength - Variable in class morfologik.fsa.builders.FSABuilder
-
FSABuilder.previous
sequence's length, used in assertions only. - printf(String, Object...) - Static method in class morfologik.tools.CliTool
- process(byte[], int) - Method in interface morfologik.tools.BinaryInput.LineConsumer
- propertyName - Variable in enum morfologik.stemming.DictionaryAttribute
-
Property name for this attribute.
- pushNode(int) - Method in class morfologik.fsa.ByteSequenceIterator
-
Descends to a given node, adds its arcs to the stack to be traversed.
R
- read(InputStream) - Static method in class morfologik.fsa.FSA
-
A factory for reading automata in any of the supported versions.
- read(InputStream) - Static method in class morfologik.fsa.FSAHeader
-
Read FSA header and version from a stream, consuming read bytes.
- read(InputStream) - Static method in class morfologik.stemming.DictionaryMetadata
-
Read dictionary metadata from a property file (stream).
- read(InputStream, InputStream) - Static method in class morfologik.stemming.Dictionary
-
Attempts to load a dictionary from opened streams of FSA dictionary data and associated metadata.
- read(InputStream, Class<? extends T>) - Static method in class morfologik.fsa.FSA
-
A factory for reading a specific FSA subclass, including proper casting.
- read(URL) - Static method in class morfologik.stemming.Dictionary
-
Attempts to load a dictionary using the URL to the FSA file and the expected metadata extension.
- read(Path) - Static method in class morfologik.stemming.Dictionary
-
Attempts to load a dictionary using the path to the FSA file and the expected metadata extension.
- readBinarySequences(Path, byte) - Method in class morfologik.tools.BinaryInput
- ReaderLineSupplier(BufferedReader) - Constructor for class morfologik.tools.DictApply.ReaderLineSupplier
- readRemaining(InputStream) - Static method in class morfologik.fsa.FSA
- readVInt(byte[], int) - Static method in class morfologik.fsa.CFSA2
-
Read a v-int.
- remove() - Method in class morfologik.fsa.ByteSequenceIterator
-
Not implemented in this iterator.
- remove() - Method in class morfologik.stemming.DictionaryIterator
- remove(int) - Method in class morfologik.stemming.ArrayViewList
- REMOVE_EVERYTHING - Static variable in class morfologik.stemming.TrimInfixAndSuffixEncoder
-
Maximum encodable single-byte code.
- REMOVE_EVERYTHING - Static variable in class morfologik.stemming.TrimPrefixAndSuffixEncoder
-
Maximum encodable single-byte code.
- REMOVE_EVERYTHING - Static variable in class morfologik.stemming.TrimSuffixEncoder
-
Maximum encodable single-byte code.
- REPLACEMENT_PAIRS - morfologik.stemming.DictionaryAttribute
-
Replacement pairs for non-obvious candidate search in a speller dictionary.
- replacementPairs - Variable in class morfologik.stemming.DictionaryMetadata
-
Replacement pairs for non-obvious candidate search in a speller dictionary.
- replacementsAnyToOne - Variable in class morfologik.speller.Speller
- replacementsAnyToTwo - Variable in class morfologik.speller.Speller
- replacementsTheRest - Variable in class morfologik.speller.Speller
- replaceRunOnWordCandidates(String) - Method in class morfologik.speller.Speller
-
Propose suggestions for misspelled run-on words.
- replaceRunOnWords(String) - Method in class morfologik.speller.Speller
-
Propose suggestions for misspelled run-on words.
- REQUIRED_ATTRIBUTES - Static variable in class morfologik.stemming.DictionaryMetadata
-
Required attributes.
- reset(int, int, int) - Method in class morfologik.fsa.MatchResult
- restartFrom(int) - Method in class morfologik.fsa.ByteSequenceIterator
-
Restart walking from
node
. - rightLanguageForAllStates(FSA) - Static method in class morfologik.fsa.builders.FSAUtils
-
Calculate the size of "right language" for each state in an FSA.
- root - Variable in class morfologik.fsa.builders.FSABuilder
-
Root state.
- rootNode - Variable in class morfologik.speller.Speller
-
FSA's root node.
- rootNode - Variable in class morfologik.stemming.DictionaryLookup
-
FSA's root node.
- rowLength - Variable in class morfologik.speller.HMatrix
- RUN_ON_WORDS - morfologik.stemming.DictionaryAttribute
-
If the spelling dictionary is supposed to split runOnWords.
S
- scratch - Variable in class morfologik.fsa.builders.CFSA2Serializer
-
Scratch array for serializing vints.
- scratch - Variable in class morfologik.stemming.TrimInfixAndSuffixEncoder
- separator - Variable in class morfologik.stemming.DictionaryIterator
- separator - Variable in class morfologik.stemming.DictionaryMetadata
-
A separator character between fields (stem, lemma, form).
- separator(char) - Method in class morfologik.stemming.DictionaryMetadataBuilder
- SEPARATOR - morfologik.stemming.DictionaryAttribute
-
Logical fields separator inside the FSA.
- separatorChar - Variable in class morfologik.stemming.DictionaryLookup
- separatorChar - Variable in class morfologik.stemming.DictionaryMetadata
- SEPARATORS - morfologik.fsa.FSAFlags
-
The FSA supports legacy built-in separator and filler characters (Daciuk's FSA package compatibility).
- SEQUENCE_IS_A_PREFIX - Static variable in class morfologik.fsa.MatchResult
-
The sequence is a prefix of at least one sequence in the automaton.
- sequenceEncoder - Variable in class morfologik.stemming.DictionaryIterator
- sequenceEncoder - Variable in class morfologik.stemming.DictionaryLookup
- SERIALIZATION_BUFFER_REALLOCATIONS - morfologik.fsa.builders.FSABuilder.InfoEntry
- SERIALIZATION_BUFFER_SIZE - morfologik.fsa.builders.FSABuilder.InfoEntry
- serializationBufferReallocations - Variable in class morfologik.fsa.builders.FSABuilder
-
Number of serialization buffer reallocations.
- SerializationFormat - Enum in morfologik.tools
-
The serialization and encoding format to use for compressing the automaton.
- SerializationFormat() - Constructor for enum morfologik.tools.SerializationFormat
- serialize(int) - Method in class morfologik.fsa.builders.FSABuilder
-
Serialize a given state on the active path.
- serialize(FSA, T) - Method in class morfologik.fsa.builders.CFSA2Serializer
- serialize(FSA, T) - Method in class morfologik.fsa.builders.FSA5Serializer
-
Serialize root state
s
to an output stream inFSA5
format. - serialize(FSA, T) - Method in interface morfologik.fsa.builders.FSASerializer
-
Serialize a finite state automaton to an output stream.
- serialized - Variable in class morfologik.fsa.builders.FSABuilder
-
Holds serialized and mutable states.
- set(int, int, int) - Method in class morfologik.speller.HMatrix
-
Set an item in hMatrix.
- set(int, E) - Method in class morfologik.stemming.ArrayViewList
- setArcTarget(int, int) - Method in class morfologik.fsa.builders.FSABuilder
-
Fills the target state address of an arc.
- setCallSystemExit(boolean) - Method in class morfologik.tools.CliTool
-
Call
System.exit(int)
at the end of command processing. - setPrevious(byte[], int, int) - Method in class morfologik.fsa.builders.FSABuilder
-
Copy
current
into an internal buffer. - setWordAndCandidate(String, String) - Method in class morfologik.speller.Speller
-
Sets up the word and candidate.
- sharedPrefixLength(ByteBuffer, int, ByteBuffer, int) - Static method in class morfologik.stemming.BufferUtils
-
Compute the length of the shared prefix between two byte sequences.
- sharedPrefixLength(ByteBuffer, ByteBuffer) - Static method in class morfologik.stemming.BufferUtils
-
Compute the length of the shared prefix between two byte sequences.
- size - Variable in class morfologik.fsa.builders.FSABuilder
-
Number of bytes already taken in
FSABuilder.serialized
. - size - Variable in class morfologik.fsa.builders.FSAInfo
-
Arcs size (in serialized form).
- size() - Method in class morfologik.stemming.ArrayViewList
- SIZEOF_FLAGS - Static variable in class morfologik.fsa.builders.FSA5Serializer
-
Number of bytes for the arc's flags header (arc representation without the goto address).
- skipArc(int) - Method in class morfologik.fsa.CFSA
-
Read the arc's layout and skip as many bytes, as needed, to skip it.
- skipArc(int) - Method in class morfologik.fsa.CFSA2
-
Read the arc's layout and skip as many bytes, as needed, to skip it.
- skipArc(int) - Method in class morfologik.fsa.FSA5
-
Read the arc's layout and skip as many bytes, as needed.
- skipTags - Variable in class morfologik.tools.DictApply
- skipVInt(int) - Method in class morfologik.fsa.CFSA2
-
Skip a v-int.
- Speller - Class in morfologik.speller
-
Finds spelling suggestions.
- Speller(Dictionary) - Constructor for class morfologik.speller.Speller
- Speller(Dictionary, int) - Constructor for class morfologik.speller.Speller
- Speller.CandidateData - Class in morfologik.speller
-
Used to sort candidates according to edit distance, and possibly according to their frequency in the future.
- start - Variable in class morfologik.stemming.ArrayViewList
- STATE_REGISTRY_SIZE - morfologik.fsa.builders.FSABuilder.InfoEntry
- STATE_REGISTRY_TABLE_SLOTS - morfologik.fsa.builders.FSABuilder.InfoEntry
- stateLength(int) - Method in class morfologik.fsa.builders.FSABuilder
-
The total length of the serialized state data (all arcs).
- StateVisitor - Interface in morfologik.fsa
-
State visitor.
- stemBuffer - Variable in class morfologik.stemming.WordData
-
Byte buffer holding stem data.
- stemCharSequence - Variable in class morfologik.stemming.WordData
-
Character sequence after converting
WordData.stemBuffer
usingWordData.decoder
. - STOPBIT - morfologik.fsa.FSAFlags
-
Daciuk: stop bit in use.
- stringified - Variable in enum morfologik.fsa.builders.FSABuilder.InfoEntry
- SUCCESS - morfologik.tools.ExitStatus
-
The command was successful.
- SUFFIX - morfologik.stemming.EncoderType
- supportRunOnWords() - Method in class morfologik.stemming.DictionaryMetadataBuilder
- supportRunOnWords(boolean) - Method in class morfologik.stemming.DictionaryMetadataBuilder
T
- tagBuffer - Variable in class morfologik.stemming.WordData
-
Byte buffer holding tag data.
- tagCharSequence - Variable in class morfologik.stemming.WordData
-
Character sequence after converting
WordData.tagBuffer
usingWordData.decoder
. - TAILS - morfologik.fsa.FSAFlags
-
Daciuk: tails compression.
- TARGET_ADDRESS_SIZE - Static variable in class morfologik.fsa.builders.ConstantArcSizeFSA
-
Size of the target address field (constant for the builder).
- temp - Variable in class morfologik.stemming.DictionaryIterator
- TERMINAL_STATE - Static variable in class morfologik.fsa.builders.ConstantArcSizeFSA
-
A dummy address of the terminal state.
- toArray(ByteBuffer) - Static method in class morfologik.stemming.BufferUtils
- toDot(Writer, FSA, int) - Static method in class morfologik.fsa.builders.FSAUtils
-
Saves the right-language reachable from a given FSA node, formatted as an input for the graphviz package (expressed in the
dot
language), to the given writer. - toDot(FSA, int) - Static method in class morfologik.fsa.builders.FSAUtils
-
Returns the right-language reachable from a given FSA node, formatted as an input for the graphviz package (expressed in the
dot
language). - toMap() - Method in class morfologik.stemming.DictionaryMetadataBuilder
- toString() - Method in enum morfologik.fsa.builders.FSABuilder.InfoEntry
- toString() - Method in class morfologik.fsa.builders.FSAInfo
- toString() - Method in class morfologik.speller.Speller.CandidateData
- toString() - Method in class morfologik.stemming.NoEncoder
- toString() - Method in class morfologik.stemming.TrimInfixAndSuffixEncoder
- toString() - Method in class morfologik.stemming.TrimPrefixAndSuffixEncoder
- toString() - Method in class morfologik.stemming.TrimSuffixEncoder
- toString() - Method in class morfologik.stemming.WordData
- toString(ByteBuffer, Charset) - Static method in class morfologik.stemming.BufferUtils
- toString(CharBuffer) - Static method in class morfologik.stemming.BufferUtils
- totalArcs - Variable in class morfologik.fsa.builders.FSAInfo.NodeVisitor
- TrimInfixAndSuffixEncoder - Class in morfologik.stemming
-
Encodes
dst
relative tosrc
by trimming whatever non-equal suffix and infixsrc
anddst
have. - TrimInfixAndSuffixEncoder() - Constructor for class morfologik.stemming.TrimInfixAndSuffixEncoder
- TrimPrefixAndSuffixEncoder - Class in morfologik.stemming
-
Encodes
dst
relative tosrc
by trimming whatever non-equal suffix and prefixsrc
anddst
have. - TrimPrefixAndSuffixEncoder() - Constructor for class morfologik.stemming.TrimPrefixAndSuffixEncoder
- TrimSuffixEncoder - Class in morfologik.stemming
-
Encodes
dst
relative tosrc
by trimming whatever non-equal suffixsrc
has. - TrimSuffixEncoder() - Constructor for class morfologik.stemming.TrimSuffixEncoder
U
- UnmappableInputException - Exception in morfologik.stemming
-
Thrown when some input cannot be mapped using the declared charset (bytes to characters or the other way around).
- UnmappableInputException(String, CharacterCodingException) - Constructor for exception morfologik.stemming.UnmappableInputException
- update(ByteBuffer, CharSequence) - Method in class morfologik.stemming.WordData
- UPPER_SEARCH_LIMIT - Static variable in class morfologik.speller.Speller
V
- validate - Variable in class morfologik.tools.DictCompile
- validate - Variable in class morfologik.tools.DictDecompile
- validate(String, Path) - Method in class morfologik.tools.ValidateFileExists
- validate(String, Path) - Method in class morfologik.tools.ValidateParentDirExists
- validateArguments() - Method in class morfologik.tools.DictApply
- ValidateFileExists - Class in morfologik.tools
- ValidateFileExists() - Constructor for class morfologik.tools.ValidateFileExists
- ValidateParentDirExists - Class in morfologik.tools
- ValidateParentDirExists() - Constructor for class morfologik.tools.ValidateParentDirExists
- valueOf(String) - Static method in enum morfologik.fsa.builders.FSABuilder.InfoEntry
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum morfologik.fsa.FSAFlags
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum morfologik.stemming.DictionaryAttribute
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum morfologik.stemming.EncoderType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum morfologik.tools.ExitStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum morfologik.tools.SerializationFormat
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum morfologik.fsa.builders.FSABuilder.InfoEntry
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum morfologik.fsa.FSAFlags
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum morfologik.stemming.DictionaryAttribute
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum morfologik.stemming.EncoderType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum morfologik.tools.ExitStatus
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum morfologik.tools.SerializationFormat
-
Returns an array containing the constants of this enum type, in the order they are declared.
- version - Variable in class morfologik.fsa.FSAHeader
-
FSA version number.
- VERSION - Static variable in class morfologik.fsa.CFSA
-
Automaton header version value.
- VERSION - Static variable in class morfologik.fsa.CFSA2
-
Automaton header version value.
- VERSION - Static variable in class morfologik.fsa.FSA5
-
Automaton version as in the file header.
- vIntLength(int) - Static method in class morfologik.fsa.CFSA2
-
Return the byte-length of a v-coded int.
- visitAllStates(T) - Method in class morfologik.fsa.FSA
-
Visit all states.
- visitedArcs - Variable in class morfologik.fsa.builders.FSAInfo.NodeVisitor
- visitedNodes - Variable in class morfologik.fsa.builders.FSAInfo.FinalStateVisitor
- visitedNodes - Variable in class morfologik.fsa.builders.FSAInfo.NodeVisitor
- visitInPostOrder(StateVisitor, int, BitSet) - Method in class morfologik.fsa.FSA
-
Private recursion.
- visitInPostOrder(T) - Method in class morfologik.fsa.FSA
-
Same as
FSA.visitInPostOrder(StateVisitor, int)
, starting from root automaton node. - visitInPostOrder(T, int) - Method in class morfologik.fsa.FSA
-
Visits all states reachable from
node
in postorder. - visitInPreOrder(StateVisitor, int, BitSet) - Method in class morfologik.fsa.FSA
-
Private recursion.
- visitInPreOrder(T) - Method in class morfologik.fsa.FSA
-
Same as
FSA.visitInPreOrder(StateVisitor, int)
, starting from root automaton node. - visitInPreOrder(T, int) - Method in class morfologik.fsa.FSA
-
Visits all states in preorder.
- visitNode(int) - Method in class morfologik.fsa.builders.FSAInfo.FinalStateVisitor
- visitNode(int) - Method in class morfologik.fsa.builders.FSAInfo.NodeVisitor
- visitNode(Writer, int, FSA, int, BitSet) - Static method in class morfologik.fsa.builders.FSAUtils
W
- withAnnotationSeparator(byte) - Method in class morfologik.fsa.builders.CFSA2Serializer
- withAnnotationSeparator(byte) - Method in class morfologik.fsa.builders.FSA5Serializer
-
Sets the annotation separator (only if
FSASerializer.getFlags()
returnsFSAFlags.SEPARATORS
). - withAnnotationSeparator(byte) - Method in interface morfologik.fsa.builders.FSASerializer
-
Sets the annotation separator (only if
FSASerializer.getFlags()
returnsFSAFlags.SEPARATORS
). - withEquivalentChars(Map<Character, List<Character>>) - Method in class morfologik.stemming.DictionaryMetadataBuilder
- withFiller(byte) - Method in class morfologik.fsa.builders.CFSA2Serializer
- withFiller(byte) - Method in class morfologik.fsa.builders.FSA5Serializer
-
Sets the filler separator (only if
FSASerializer.getFlags()
returnsFSAFlags.SEPARATORS
). - withFiller(byte) - Method in interface morfologik.fsa.builders.FSASerializer
-
Sets the filler separator (only if
FSASerializer.getFlags()
returnsFSAFlags.SEPARATORS
). - withInputConversionPairs(Map<String, String>) - Method in class morfologik.stemming.DictionaryMetadataBuilder
- withNumbers - Variable in class morfologik.fsa.builders.CFSA2Serializer
-
true
if we should serialize with numbers. - withNumbers - Variable in class morfologik.fsa.builders.FSA5Serializer
-
true
if we should serialize with numbers. - withNumbers() - Method in class morfologik.fsa.builders.CFSA2Serializer
-
Serialize the automaton with the number of right-language sequences in each node.
- withNumbers() - Method in class morfologik.fsa.builders.FSA5Serializer
-
Serialize the automaton with the number of right-language sequences in each node.
- withNumbers() - Method in interface morfologik.fsa.builders.FSASerializer
-
Enables support for right language count on nodes, speeding up perfect hash counts (only if
FSASerializer.getFlags()
returnsFSAFlags.NUMBERS
). - withOutputConversionPairs(Map<String, String>) - Method in class morfologik.stemming.DictionaryMetadataBuilder
- withReplacementPairs(Map<String, List<String>>) - Method in class morfologik.stemming.DictionaryMetadataBuilder
- word - Variable in class morfologik.speller.Speller.CandidateData
- wordBuffer - Variable in class morfologik.stemming.WordData
-
Byte buffer holding the inflected word form data.
- wordCharSequence - Variable in class morfologik.stemming.WordData
-
Inflected word form data.
- WordData - Class in morfologik.stemming
-
Stem and tag data associated with a given word.
- WordData(String, String, String) - Constructor for class morfologik.stemming.WordData
-
A constructor for tests only.
- WordData(CharsetDecoder) - Constructor for class morfologik.stemming.WordData
-
Package scope constructor.
- wordLen - Variable in class morfologik.speller.Speller
- wordProcessed - Variable in class morfologik.speller.Speller
- wrap(E[], int, int) - Method in class morfologik.stemming.ArrayViewList
- write(OutputStream, byte) - Static method in class morfologik.fsa.FSAHeader
-
Writes FSA magic bytes and version information.
- write(OutputStream, ByteBuffer) - Method in class morfologik.tools.DictDecompile
- write(Writer) - Method in class morfologik.stemming.DictionaryMetadata
-
Write dictionary attributes (metadata).
- writeVInt(byte[], int, int) - Static method in class morfologik.fsa.builders.CFSA2Serializer
-
Write a v-int to a byte array.
All Classes All Packages