diff options
| author | hallgren <hallgren@chalmers.se> | 2015-03-22 22:54:05 +0000 |
|---|---|---|
| committer | hallgren <hallgren@chalmers.se> | 2015-03-22 22:54:05 +0000 |
| commit | 2041578406b0b8c7e0dfda59387e1ee7078eb79f (patch) | |
| tree | d827698b9886cb239e35a28479ac2b5f5cbae323 /src/www/js/gftranslate.js | |
| parent | e475fb10917dce2e86a11ea9cd6ffa04d03bdbee (diff) | |
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.
Diffstat (limited to 'src/www/js/gftranslate.js')
| -rw-r--r-- | src/www/js/gftranslate.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/www/js/gftranslate.js b/src/www/js/gftranslate.js index aa2aac896..2d96bd2eb 100644 --- a/src/www/js/gftranslate.js +++ b/src/www/js/gftranslate.js @@ -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) } |
