Page 1 of 1
A Tool for Spelling, Grammar Check and Ambiguity Check of Toki Pona Sentences
Posted: Fri Jun 09, 2017 7:26 am
by jan_Lope
Spelling, Grammar Check and Ambiguity Check of Toki Pona Sentences
Please see here:
http://rowa.giso.de/languages/toki-pona ... sson18.php
Re: A Tool for Spelling, Grammar Check and Ambiguity Check of Toki Pona Sentences
Posted: Fri Jun 09, 2017 11:13 am
by janKipo
At a glance, the grammar is very restricted, i.e., many acceptable sentences will be declared ungrammatical or be given unreasonable parsings. On the other hand, just about everything accepted will be acceptable. The ambiguity lists will also generally work for accepted sentences. Details will take some time to work out exactly.
Re: A Tool for Spelling, Grammar Check and Ambiguity Check of Toki Pona Sentences
Posted: Tue Jun 13, 2017 2:52 am
by jan_Lope
Now it is possible to check several Toki Pona sentences with one command.
http://rowa.giso.de/languages/toki-pona ... sson18.php
Re: A Tool for Spelling, Grammar Check and Ambiguity Check of Toki Pona Sentences
Posted: Tue Jun 20, 2017 3:06 pm
by jan_Lope
toki!
Tool for checking Toki Pona sentences
Update: Easier handling
https://github.com/jan-Lope/Toki_Pona-Parser
Thanks to jan Jon.
Re: A Tool for Spelling, Grammar Check and Ambiguity Check of Toki Pona Sentences
Posted: Wed Jul 05, 2017 5:39 am
by jan_Lope
toki!
An update for the Toki Pona parser is available:
https://jan-lope.github.io/Toki_Pona-Parser/
Missing or wrong grammar rules are fixed.
Test rules for positiv tests of correct examples and negativ tests of wrong examples are implemented.
Thanks to jan Jon. He wrote the test rules.
Correct examples:
https://github.com/jan-Lope/Toki_Pona-P ... -right.txt
Wrong examples:
https://github.com/jan-Lope/Toki_Pona-P ... -wrong.txt
The travis build process checks these examples automatically
https://travis-ci.org/jan-Lope/Toki_Pona-Parser
Re: A Tool for Spelling, Grammar Check and Ambiguity Check of Toki Pona Sentences
Posted: Mon Jul 24, 2017 9:23 am
by jan_Lope
toki!
A better installation docu for the Toki Pona parser
https://jan-lope.github.io/Toki_Pona-Parser/
Re: A Tool for Spelling, Grammar Check and Ambiguity Check of Toki Pona Sentences
Posted: Mon Jul 24, 2017 11:20 am
by janKipo
I kinda wish I could remember what it was that I did that was rude or spammy. The worst I can remember is disagreeing about the formulation of the 'pi' rule and suggesting that several other things in his grammar were somewhat outdated by community standards. I suppose now I should add my objection to "missing "be"" and to building 'li'' into the grammar (although I do, inconsistently, like commas in various places).
Update Toki Pona Parser
Posted: Wed May 30, 2018 6:13 am
by jan_Lope
toki!
Update of the Toki Pona Parser: Instead of "noun phrase", "subject phrase" is used and "predicate phrase" is used instead of "verb phrase". For example, there are Toki Pona sentences without verb.
https://jan-lope.github.io/Toki_Pona-Parser/
Toki Pona Parser: Separators are no longer displayed.
Posted: Thu Jun 07, 2018 8:59 am
by jan_Lope
toki!
Toki Pona Parser - Update
In the output of the Toki Pona Parser separators are no longer displayed because they are no longer needed for further sentence analysis. This makes the output shorter and clearer.
For example, the seperator "e" is followed by a direct object. Once this has been detected, you no longer need to display the separator "e".
Before:
Code: Select all
|: mi moku e moku.
s(dec(sim(sp(sub(pronoun(mi))),pp(verb_tra(moku),obj_d(sep(e),noun(moku))))),sep(.))
Now:
Code: Select all
|: mi moku e moku.
s(dec(sim(sp(sub(pronoun(mi))),pp(verb_tra(moku),obj_d(noun(moku))))))
Also, the separator "." is no longer required because a declarative sentences has been recognized.
https://jan-lope.github.io/Toki_Pona-Parser/