Created
October 21, 2016 09:31
-
-
Save whalebot-helmsman/38c09b17f2840bcc31bed13c92e0c570 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
encoding "utf-8"; | |
TTextMinerConfig { | |
Dictionary = "to.gzt"; | |
Articles = [ { Name = "Target_Grammar" } ]; | |
Facts = [ { Name = "FTarget" } ]; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
message FTarget : NFactType.TFact { | |
optional string Value = 1; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#encoding "utf-8" | |
#GRAMMAR_ROOT S | |
S -> Target; | |
Target -> Word<kwtype='target'> interp (FTarget.Value); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
encoding "utf-8"; | |
TAuxDicArticle "Target_Grammar" { | |
key = { "tomita:grammar.cxx" type = CUSTOM } | |
} | |
TAuxDicArticle "target" { | |
key = "один" | |
| "два" | |
| "три" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment