From 38f28da6c18ea9134f63687e4ab129e57fe28df3 Mon Sep 17 00:00:00 2001 From: hallgren Date: Sat, 21 Jun 2014 13:02:10 +0000 Subject: Polished and renamed release notes to release-3.6.t2t Also added an example use of lookupmorpho to gf-web-api-examples.html. --- src/www/gf-web-api-examples.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/www/gf-web-api-examples.html') 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}]}]} +
// Lookup the morphological analysis of a word +
server.pgf_call("lookupmorpho",{input:"fish",from:"FoodsEng"},callback) +
http://localhost:41296/grammars/Foods.pgf?command=lookupmorpho&input=fish&from=FoodsEng +
[{"lemma":"Fish","analysis":"s Pl"},{"lemma":"Fish","analysis":"s Sg"}]
-Last modified: Fri Aug 16 16:48:28 CEST 2013 +Last modified: Sat Jun 21 14:57:43 CEST 2014
TH
-- cgit v1.2.3