From fb1199c49c39bd9dccde778d60ab50f42edd289f Mon Sep 17 00:00:00 2001 From: Thomas Hallgren Date: Tue, 3 Dec 2019 16:40:21 +0100 Subject: [PATCH] GF Cloud: add Word inflection with smart paradigms This is a reimplemention of Aarne's GFMorpho service from 2012, using the GF shell web API. Not all features are implemented (yet). --- src/www/gfmorpho/index.html | 107 ++++++++++++++++++++++++++++++++++++ src/www/gfmorpho/morpho.js | 42 ++++++++++++++ src/www/index.html | 3 +- 3 files changed, 151 insertions(+), 1 deletion(-) create mode 100644 src/www/gfmorpho/index.html create mode 100644 src/www/gfmorpho/morpho.js diff --git a/src/www/gfmorpho/index.html b/src/www/gfmorpho/index.html new file mode 100644 index 000000000..0990f351d --- /dev/null +++ b/src/www/gfmorpho/index.html @@ -0,0 +1,107 @@ + + +Smart paradigms + + + + + + + +
+

Word inflection with smart paradigms

+
+
+ +Give language, part of speech, and one or more word forms, to obtain +the inflection table. +

+ +
Examples: + + + + + + + + +
+

+ Thus notice that word forms are given without quotes. In addition + to word forms, in some languages it might be necessary to give + an inherent feature (e.g. gender) and these + are prefixed with an underscore _. +

+

+Create your own example: + + + + +
+ +

+
+
+

Language and part of speech

+ +The available languages are: +
+  Afr Amh Ara Bul Cat Chi Dan Dut Eng Est Eus Fin Fre Ger
+  Grc Gre Heb Hin Ice Ina Ita Jpn Lat Lav Mlt Mon Nep Nno
+  Nor Pes Pnb Pol Por Ron Rus Slv Snd Spa Swe Tha Tur Urd
+
+ + +

+ +The parts of speech are: N (= noun), A (= adjective), V (= verb). + +

+ +The way this works is that the program constructs the most probable +inflection table from the forms given. For a vast majority of words in +all languages, it is enough to give just one form. But sometimes more +forms are needed to get the inflection table right. + +

+ +This is a front-end to the Paradigms modules in the GF Resource Grammar. +See RGL +Synopsis for more information on available languages and paradigms. + + +

+