mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 19:22:50 -06:00
small fixes in tutorial ; added txt source of the same
This commit is contained in:
@@ -715,13 +715,13 @@ Default of the language flag (<CODE>-lang</CODE>): the last-imported concrete sy
|
|||||||
<B>Multilingual generation</B>:
|
<B>Multilingual generation</B>:
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
> parse -lang=HelloEng "hello friends" | linearize -multi
|
> parse -lang=HelloEng "hello friends" | linearize
|
||||||
terve ystävät
|
terve ystävät
|
||||||
ciao amici
|
ciao amici
|
||||||
hello friends
|
hello friends
|
||||||
</PRE>
|
</PRE>
|
||||||
<P>
|
<P>
|
||||||
As <CODE>-multi</CODE> is the default, it can be omitted.
|
Linearization is by default to all available languages.
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
<!-- NEW -->
|
<!-- NEW -->
|
||||||
@@ -788,7 +788,7 @@ You can also write a <B>script</B>, a file containing the lines
|
|||||||
If we name this script <CODE>hello.gfs</CODE>, we can do
|
If we name this script <CODE>hello.gfs</CODE>, we can do
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
$ gf --run <hello.gfs s
|
$ gf --run <hello.gfs
|
||||||
|
|
||||||
ciao mondo
|
ciao mondo
|
||||||
terve maailma
|
terve maailma
|
||||||
|
|||||||
5019
doc/gf-tutorial.txt
Normal file
5019
doc/gf-tutorial.txt
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user