mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -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>:
|
||||
</P>
|
||||
<PRE>
|
||||
> parse -lang=HelloEng "hello friends" | linearize -multi
|
||||
> parse -lang=HelloEng "hello friends" | linearize
|
||||
terve ystävät
|
||||
ciao amici
|
||||
hello friends
|
||||
</PRE>
|
||||
<P>
|
||||
As <CODE>-multi</CODE> is the default, it can be omitted.
|
||||
Linearization is by default to all available languages.
|
||||
</P>
|
||||
<P>
|
||||
<!-- 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
|
||||
</P>
|
||||
<PRE>
|
||||
$ gf --run <hello.gfs s
|
||||
$ gf --run <hello.gfs
|
||||
|
||||
ciao mondo
|
||||
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