### Prefix Coder Example Output Source: https://github.com/morfologik/morfologik-stemming/blob/master/CHANGES.txt Illustrates the output format change for the prefix coder in the tab2morph tool after refactoring. ```text Prefix coder: postmodernizm|modernizm|xyz => [before] postmodernizm+ANmodernizm+xyz => [after ] postmodernizm+EA+xyz ``` -------------------------------- ### Infix Coder Example Output Source: https://github.com/morfologik/morfologik-stemming/blob/master/CHANGES.txt Illustrates the output format change for the infix coder in the tab2morph tool after refactoring. ```text Infix coder: laquelle|lequel|D f s => [before] laquelle+AAHequel+D f s => [after ] laquelle+AGAquel+D f s ``` -------------------------------- ### Get Info for FSA5 Automaton Source: https://github.com/morfologik/morfologik-stemming/blob/master/morfologik-tools/src/main/package/examples/03-fsa-info.txt Prints diagnostic information about a compiled FSA5 automaton. Ensure the JAR file and input FSA5 file are in the correct locations. ```bash echo "FSA5:" java -jar ../lib/${project.artifactId}-${project.version}.jar fsa_info --input 01-fsa-build.fsa5 ``` -------------------------------- ### Get Info for CFSA2 Automaton Source: https://github.com/morfologik/morfologik-stemming/blob/master/morfologik-tools/src/main/package/examples/03-fsa-info.txt Prints diagnostic information about a compiled CFSA2 automaton. Verify the JAR file and input CFSA2 file paths. ```bash echo "CFSA2:" java -jar ../lib/${project.artifactId}-${project.version}.jar fsa_info --input 01-fsa-build.cfsa2 ``` -------------------------------- ### Build FSA with FSA5 format Source: https://github.com/morfologik/morfologik-stemming/blob/master/morfologik-tools/src/main/package/examples/01-fsa-build.txt Constructs an automaton serialized with the FSA5 format, compatible with Jan Daciuk's fsa_build. Use this for standard FSA serialization. ```bash java -jar ../lib/${project.artifactId}-${project.version}.jar fsa_build --input 01-fsa-build.input --output 01-fsa-build.fsa5 --format fsa5 ``` -------------------------------- ### Decompile Dictionary to Source Source: https://github.com/morfologik/morfologik-stemming/blob/master/morfologik-tools/src/main/package/examples/05-dict-decompile.txt Use this command to decompile a Morfologik dictionary (`.dict` file) into its input format. Ensure the corresponding metadata (`.info`) file is present. The output will be in a format suitable for re-compilation or inspection. ```bash java -jar ../lib/${project.artifactId}-${project.version}.jar dict_decompile --input 04-dict-compile.dict --output 05-dict-decompile.input ``` -------------------------------- ### Build FSA with CFSA2 format Source: https://github.com/morfologik/morfologik-stemming/blob/master/morfologik-tools/src/main/package/examples/01-fsa-build.txt Constructs an automaton serialized with the CFSA2 format, a custom format offering better packing but slower runtime performance. Use this when space efficiency is critical. ```bash java -jar ../lib/${project.artifactId}-${project.version}.jar fsa_build --input 01-fsa-build.input --output 01-fsa-build.cfsa2 --format cfsa2 ``` -------------------------------- ### Compile Dictionary Source: https://github.com/morfologik/morfologik-stemming/blob/master/morfologik-tools/src/main/package/examples/04-dict-compile.txt Compiles a dictionary from a specified input file. The compiled dictionary is typically saved with a .dict extension. ```bash java -jar ../lib/${project.artifactId}-${project.version}.jar dict_compile --input 04-dict-compile.input ``` -------------------------------- ### Dump FSA Byte Sequences Source: https://github.com/morfologik/morfologik-stemming/blob/master/morfologik-tools/src/main/package/examples/02-fsa-dump.txt Use the `fsa_dump` command to extract byte sequences from a specified FSA input file and write them to an output file. Each sequence is separated by a CR byte. ```bash java -jar ../lib/${project.artifactId}-${project.version}.jar fsa_dump --input 01-fsa-build.fsa5 --output 02-fsa-dump.output ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.