A Tool for Spelling, Grammar Check and Ambiguity Check of Toki Pona Sentences

Discuss any other topic in here.
Diskutu ĉiujn aliajn temojn ĉi tie.
User avatar
jan_Lope
Posts: 274
Joined: Sat Apr 06, 2013 1:30 pm
Location: mi lon ma tomo Pelin.
Contact:

A Tool for Spelling, Grammar Check and Ambiguity Check of Toki Pona Sentences

Postby jan_Lope » Fri Jun 09, 2017 7:26 am

Spelling, Grammar Check and Ambiguity Check of Toki Pona Sentences

Please see here:
http://rowa.giso.de/languages/toki-pona ... sson18.php
pona!
jan Lope
https://jan-lope.github.io
(Lessons and the Toki Pona Parser - A tool for spelling, grammar check and ambiguity check of Toki Pona)

On my foe list are the sockpuppets janKipo and janSilipu because of permanent spamming.

janKipo
Posts: 2974
Joined: Fri Oct 09, 2009 2:20 pm

Re: A Tool for Spelling, Grammar Check and Ambiguity Check of Toki Pona Sentences

Postby janKipo » Fri Jun 09, 2017 11:13 am

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.

User avatar
jan_Lope
Posts: 274
Joined: Sat Apr 06, 2013 1:30 pm
Location: mi lon ma tomo Pelin.
Contact:

Re: A Tool for Spelling, Grammar Check and Ambiguity Check of Toki Pona Sentences

Postby jan_Lope » Tue Jun 13, 2017 2:52 am

Now it is possible to check several Toki Pona sentences with one command.

http://rowa.giso.de/languages/toki-pona ... sson18.php
pona!
jan Lope
https://jan-lope.github.io
(Lessons and the Toki Pona Parser - A tool for spelling, grammar check and ambiguity check of Toki Pona)

On my foe list are the sockpuppets janKipo and janSilipu because of permanent spamming.

User avatar
jan_Lope
Posts: 274
Joined: Sat Apr 06, 2013 1:30 pm
Location: mi lon ma tomo Pelin.
Contact:

Re: A Tool for Spelling, Grammar Check and Ambiguity Check of Toki Pona Sentences

Postby jan_Lope » Tue Jun 20, 2017 3:06 pm

toki!

Tool for checking Toki Pona sentences
Update: Easier handling https://github.com/jan-Lope/Toki_Pona-Parser

Thanks to jan Jon.
pona!
jan Lope
https://jan-lope.github.io
(Lessons and the Toki Pona Parser - A tool for spelling, grammar check and ambiguity check of Toki Pona)

On my foe list are the sockpuppets janKipo and janSilipu because of permanent spamming.

User avatar
jan_Lope
Posts: 274
Joined: Sat Apr 06, 2013 1:30 pm
Location: mi lon ma tomo Pelin.
Contact:

Re: A Tool for Spelling, Grammar Check and Ambiguity Check of Toki Pona Sentences

Postby jan_Lope » Wed Jul 05, 2017 5:39 am

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
pona!
jan Lope
https://jan-lope.github.io
(Lessons and the Toki Pona Parser - A tool for spelling, grammar check and ambiguity check of Toki Pona)

On my foe list are the sockpuppets janKipo and janSilipu because of permanent spamming.

User avatar
jan_Lope
Posts: 274
Joined: Sat Apr 06, 2013 1:30 pm
Location: mi lon ma tomo Pelin.
Contact:

Re: A Tool for Spelling, Grammar Check and Ambiguity Check of Toki Pona Sentences

Postby jan_Lope » Mon Jul 24, 2017 9:23 am

toki!

A better installation docu for the Toki Pona parser https://jan-lope.github.io/Toki_Pona-Parser/
pona!
jan Lope
https://jan-lope.github.io
(Lessons and the Toki Pona Parser - A tool for spelling, grammar check and ambiguity check of Toki Pona)

On my foe list are the sockpuppets janKipo and janSilipu because of permanent spamming.

janKipo
Posts: 2974
Joined: Fri Oct 09, 2009 2:20 pm

Re: A Tool for Spelling, Grammar Check and Ambiguity Check of Toki Pona Sentences

Postby janKipo » Mon Jul 24, 2017 11:20 am

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).

User avatar
jan_Lope
Posts: 274
Joined: Sat Apr 06, 2013 1:30 pm
Location: mi lon ma tomo Pelin.
Contact:

Update Toki Pona Parser

Postby jan_Lope » Wed May 30, 2018 6:13 am

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/
pona!
jan Lope
https://jan-lope.github.io
(Lessons and the Toki Pona Parser - A tool for spelling, grammar check and ambiguity check of Toki Pona)

On my foe list are the sockpuppets janKipo and janSilipu because of permanent spamming.

User avatar
jan_Lope
Posts: 274
Joined: Sat Apr 06, 2013 1:30 pm
Location: mi lon ma tomo Pelin.
Contact:

Toki Pona Parser: Separators are no longer displayed.

Postby jan_Lope » Thu Jun 07, 2018 8:59 am

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/
pona!
jan Lope
https://jan-lope.github.io
(Lessons and the Toki Pona Parser - A tool for spelling, grammar check and ambiguity check of Toki Pona)

On my foe list are the sockpuppets janKipo and janSilipu because of permanent spamming.


Return to “ijo ante | miscellaneous | diversaj”

Who is online

Users browsing this forum: No registered users and 11 guests