mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-25 10:48:54 -06:00
updated Synopsis with Afrikaans, Punjabi, and additional modules
This commit is contained in:
@@ -7,28 +7,17 @@
|
||||
**New**: Browsing by syntax editor
|
||||
[directly on the web ../../../demos/resource-api/editor.html].
|
||||
|
||||
All of the following assume
|
||||
```
|
||||
cd $GF_LIB_PATH
|
||||
```
|
||||
All of the following assume that
|
||||
``GF_LIB_PATH`` points to the directory ``GF/lib`` with compiled libraries.
|
||||
|
||||
To try out inflection paradigms:
|
||||
```
|
||||
> i -path=alltenses -retain alltenses/ParadigmsGer.gfo
|
||||
> i -retain alltenses/ParadigmsGer.gfo
|
||||
> cc mkN "Farbe"
|
||||
```
|
||||
To try out overloaded syntax, test lexicon, and inflection paradigms:
|
||||
```
|
||||
> i -path=alltenses -retain alltenses/TryGer.gfo
|
||||
> i -retain alltenses/TryGer.gfo
|
||||
> cc mkCl (mkNP this_Quant (mkN "Farbe")) (mkA "dunkel")
|
||||
```
|
||||
% To look for a syntax tree in the overload API by parsing:
|
||||
% ```
|
||||
% > i -path=alltenses alltenses/OverLangEng.gf
|
||||
% > p -cat=S -overload "this grammar is too big"
|
||||
% ```
|
||||
% To view linearizations in all languages by parsing from English:
|
||||
% ```
|
||||
% > i alltenses/langs.gfcm
|
||||
% > p -cat=S -lang=LangEng "this grammar is too big" | tb
|
||||
% ```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user