diff options
| author | hallgren <hallgren@chalmers.se> | 2014-06-21 13:02:10 +0000 |
|---|---|---|
| committer | hallgren <hallgren@chalmers.se> | 2014-06-21 13:02:10 +0000 |
| commit | 38f28da6c18ea9134f63687e4ab129e57fe28df3 (patch) | |
| tree | 698e21571a3f4deaa9a38fca6557af9bcaf9f50c /src/www/gf-web-api-examples.html | |
| parent | 58156369fac13076ea41ad9e99931512d89ce906 (diff) | |
Polished and renamed release notes to release-3.6.t2t
Also added an example use of lookupmorpho to gf-web-api-examples.html.
Diffstat (limited to 'src/www/gf-web-api-examples.html')
| -rw-r--r-- | src/www/gf-web-api-examples.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/www/gf-web-api-examples.html b/src/www/gf-web-api-examples.html index 8a419012d..204a48a9d 100644 --- a/src/www/gf-web-api-examples.html +++ b/src/www/gf-web-api-examples.html @@ -171,9 +171,13 @@ full API. "children":[{"fun":"Pizza","fid":0}]}, {"fun":"Very","fid":3, "children":[{"fun":"Boring","fid":2}]}]} + <dt class=js><em>// Lookup the morphological analysis of a word</em> + <br>server.pgf_call("lookupmorpho",{input:"fish",from:"FoodsEng"},callback) + <dt>http://localhost:41296/grammars/Foods.pgf?command=lookupmorpho&input=fish&from=FoodsEng + <dd>[{"lemma":"Fish","analysis":"s Pl"},{"lemma":"Fish","analysis":"s Sg"}] </dl> <hr> <div class=modtime><small> -<!-- hhmts start -->Last modified: Fri Aug 16 16:48:28 CEST 2013 <!-- hhmts end --> +<!-- hhmts start -->Last modified: Sat Jun 21 14:57:43 CEST 2014 <!-- hhmts end --> </small></div> <address><a href="http://www.cse.chalmers.se/~hallgren/">TH</a></address> |
