From 10e4c2a428a75ad587cf7dfff4ea01dfb295f17e Mon Sep 17 00:00:00 2001 From: jfschaefer <jfschaefer@outlook.com> Date: Sun, 15 Jul 2018 12:31:03 +0200 Subject: [PATCH] more work on README --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 250cda4..8f8124d 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,24 @@ parse -lang=Eng "a unital quasigroup is called a loop" | vt -view=zathura Note that a png file is generated in the case of a single parse tree (which might require a different viewer). +Random sentences can be created in the following way: + +``` +i src/MgfEng.gf +gr -number=2 | l -lang=Eng +``` + +which gives for example the output + +``` +a converse $ mrow( mi( A ) mo( > ) mn( 1 ) ) $ is called a perturbation +there isn't no issue +``` + +In my version, there seems to be a bug and the call doesn't always return. +If you want to learn more about GF, we recommend checking out the [tutorial](https://www.grammaticalframework.org/doc/tutorial/gf-tutorial.html). + + Preprocessing === -- GitLab