package src.analyzer.morphotactics

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message RewriteRule

rule.proto:29

Internal representation of finite-state transducer rewrite rules used in compiling morphotactics FST. Lexicon entries (from TSV files under //src/analyzer/lexicon/base) and morphotactics model (from txt files under //src/analyzer/morphotactics/model) are validated and parsed into RewriteRule objects throughout text FST compilation in //src/analyzer/morphotactics/model_compile.py. This is basically the structured representation of the AT&T FSM format.

Used in: RewriteRuleSet

message RewriteRuleSet

rule.proto:39

Ad hoc container of rewrite rules. Mainly used to conveniently consume serialized arrays of rewrite rules in unit tests of //src/analyzer/lexicon and //src/analyzer/morphotactics submodules.