Uses of Class
morfologik.fsa.FSA
Packages that use FSA
-
Uses of FSA in morfologik.fsa
Subclasses of FSA in morfologik.fsaModifier and TypeClassDescriptionfinal classCFSA (Compact Finite State Automaton) binary format implementation.final classCFSA (Compact Finite State Automaton) binary format implementation, version 2:CFSA2.BIT_TARGET_NEXTapplicable 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 bytefinal classFSA binary format implementation for version 5.Methods in morfologik.fsa with type parameters of type FSAModifier and TypeMethodDescriptionstatic <T extends FSA>
TFSA.read(InputStream stream, Class<? extends T> clazz) A factory for reading a specific FSA subclass, including proper casting.Methods in morfologik.fsa that return FSAModifier and TypeMethodDescriptionstatic FSAFSA.read(InputStream stream) A factory for reading automata in any of the supported versions.Constructors in morfologik.fsa with parameters of type FSAModifierConstructorDescriptionByteSequenceIterator(FSA fsa) Create an instance of the iterator iterating over all automaton sequences.ByteSequenceIterator(FSA fsa, int node) Create an instance of the iterator for a given node.FSATraversal(FSA fsa) Traversals of the given FSA. -
Uses of FSA in morfologik.fsa.builders
Methods in morfologik.fsa.builders that return FSAModifier and TypeMethodDescriptionstatic FSAFSABuilder.build(byte[][] input) Build a minimal, deterministic automaton from a sorted list of byte sequences.static FSABuild a minimal, deterministic automaton from an iterable list of byte sequences.FSABuilder.complete()Methods in morfologik.fsa.builders with parameters of type FSAModifier and TypeMethodDescriptionFSAUtils.calculateFanOuts(FSA fsa, int root) Calculate fan-out ratio (how many nodes have a given number of outgoing arcs).static com.carrotsearch.hppc.IntIntHashMapFSAUtils.rightLanguageForAllStates(FSA fsa) Calculate the size of "right language" for each state in an FSA.<T extends OutputStream>
T<T extends OutputStream>
TSerialize root statesto an output stream inFSA5format.<T extends OutputStream>
TSerialize a finite state automaton to an output stream.static voidSaves the right-language reachable from a given FSA node, formatted as an input for the graphviz package (expressed in thedotlanguage), to the given writer.static StringReturns the right-language reachable from a given FSA node, formatted as an input for the graphviz package (expressed in thedotlanguage).Constructors in morfologik.fsa.builders with parameters of type FSA -
Uses of FSA in morfologik.stemming
Fields in morfologik.stemming declared as FSAModifier and TypeFieldDescriptionfinal FSADictionary.fsaFSAautomaton with the compiled dictionary data.Constructors in morfologik.stemming with parameters of type FSAModifierConstructorDescriptionDictionary(FSA fsa, DictionaryMetadata metadata) It is strongly recommended to use static methods in this class for reading dictionaries.