1
0
forked from GitHub/gf-core

Wide Coverage Translation Demo: add a way to obtain inflection tables

Too see inflection tables, click on a translated sentense, then click on a
blue function name in the textual representation of the abstract syntax tree.
This commit is contained in:
hallgren
2015-03-22 22:54:05 +00:00
parent 4d8a86c1c2
commit fbd7e498cd
3 changed files with 32 additions and 4 deletions

View File

@@ -6,6 +6,10 @@ var gftranslate = {}
gftranslate.jsonurl="/robust/App14.pgf"
gftranslate.grammar="App" // the name of the grammar
gftranslate.documented_classes=
["N", "N2", "N3", "A", "A2", "V", "V2", "VV", "VS", "VQ", "VA", "V3", "V2V",
"V2S", "V2Q", "V2A", "Adv", "Prep"]
gftranslate.call=function(querystring,cont,errcont) {
http_get_json(gftranslate.jsonurl+querystring,cont,errcont)
}