Hello, guys! toki!
I have been working with two words combinations on TP.
mi pali e nimi tu ali pi toki pona.
I used every word that could be used as a noun, and as the second word, which is a modifier (adjective), any noun and more adjectives. Look at: http://paste.ubuntu.com/691987/
mi kepeken e nimi pi ijo mute lon nimi pi nanpa wan. mi kepeken e nimi pi ijo mute e nimi pi ante e nimi lon nimi pi nanpa tu.
Maybe some words are missing, and I also made the translations to English, too.
ken la pali mi li ike lili. sina ken lukin e ni lon toki Inli.
Of course I didn't type all of that, some work that'd be! I used Visual Basic programming language.
mi pali ala e ni kepeken luka mi tan ni: ni li kepeken e tenpo mute mute! mi kepeken e toki pali Pisulo Pesi.
Maybe there are some gramatical mistakes in this topic, in English and Toki Pona. If there are, please notice me.
ken la ike lili lon lipu ni lon toki pona en toki Inli li lon (lonlonlonlon! XD). ona li lon la o toki tawa mi!
tawa pona!
Two words combination
- jan Kapiwe
- Posts: 44
- Joined: Sat Sep 17, 2011 12:39 pm
- Location: Santa Catarina, Brazil
Two words combination
mi mute o musi!
Re: Two words combination
maybe more like 'mi pali e wan pi nimi tu pi toki pona.'jan Kapiwe wrote:Hello, guys! toki!
I have been working with two words combinations on TP.
mi pali e nimi tu ali pi toki pona.
maybe 'lon' "place" rather than 'nimi'. 'nimi ijo' is enough for '"noun", but remember, such categories are very permeable in tp, so just about any word can be a noun (ecxept 'o,li, e, la' and maybe a few other). Can't have 'e' in a noun phrase so 'nimi pi ante nimi' will do. Don't need 'pi' with 'nanpa' followed by a number. .I used every word that could be used as a noun, and as the second word, which is a modifier (adjective), any noun and more adjectives. Look at: http://paste.ubuntu.com/691987/
mi kepeken e nimi pi ijo mute lon nimi pi nanpa wan. mi kepeken e nimi pi ijo mute e nimi pi ante e nimi lon nimi pi nanpa tu.
.
Maybe some words are missing, and I also made the translations to English, too.
ken la pali mi li ike lili. sina ken lukin e ni lon toki Inli.
. Nimi lili li weka. Kin la mi Pali e ante toki tawa toki Inli.
'nasin' for programs. Tp is NA, so 'Pesi Pisulo' or 'Pona Lukin'.Of course I didn't type all of that, some work that'd be! I used Visual Basic programming language. mi pali ala e ni kepeken luka mi tan ni: ni li kepeken e tenpo mute mute! mi kepeken e toki pali Pisulo Pesi.
Maybe there are some gramatical mistakes in this topic, in English and Toki Pona. If there are, please notice me.
ken la ike lili LI lon lipu ni [lon] Kepeken toki pona en toki Inli li lon (lonlonlonlon! XD). ona li lon la o toki tawa mi!
Your way works, too, but is awful complex and needs a 'pi' before first 'lon' and 'kepeken'.
Re: Two words combination
You can machine generate the toki pona, but you can't machine generate the meaning. That requires general purpose knowledge. I'll take just one example:
moku selo. - surface food
I hear this and I immediately think of orange peels, pork rinds, and the category of all food that grows near the ground, such as peppers but not apples from a tree or potatoes. There is no way a computer could generate those meanings.
Its a good exercise though. Being familiar with the word pairs that are reasonably transparent phrases lets you memorize them and avoid longer phrases.
I think if I was going write a noun phrase generator, it would be:
n (m)* (pi n (m)*)* (prep) NP where () is optional and * is repeats and NP is a noun phrase.
I haven't written a generator yet because I haven't solve the problem of NP equivallence. For example
waso lili laso = waso laso lili. You can graph them differently, but they still mean the same thing.
waso laso pi kasi suli pi ma Losi = waso laso pi ma Losi pi kasi suli. Again, these phrases are really the same thing. A machine generator should, could detect that.
I wish there was a template for verbs, but there isn't. if there was, it would look like
li v pi w (m)* where w is a word and there is at least one modifier.
li v m where m is anything but mute, lili, suli, is too uncommon in canon or corpus to really know what they mean. For example,
jan li moku waso. He eats bird? Why not jan li moku e waso
jan li moku waso. He eats like a bird? Why not jan li moku sama waso
jan li moku waso. He pecks? Why pecks and not some other specific thing some bird does to eat, like maybe slurp like a humming bird?
jan li kama sona. This one is legit because it and the meaning are in canon.
moku selo. - surface food
I hear this and I immediately think of orange peels, pork rinds, and the category of all food that grows near the ground, such as peppers but not apples from a tree or potatoes. There is no way a computer could generate those meanings.
Its a good exercise though. Being familiar with the word pairs that are reasonably transparent phrases lets you memorize them and avoid longer phrases.
I think if I was going write a noun phrase generator, it would be:
n (m)* (pi n (m)*)* (prep) NP where () is optional and * is repeats and NP is a noun phrase.
I haven't written a generator yet because I haven't solve the problem of NP equivallence. For example
waso lili laso = waso laso lili. You can graph them differently, but they still mean the same thing.
waso laso pi kasi suli pi ma Losi = waso laso pi ma Losi pi kasi suli. Again, these phrases are really the same thing. A machine generator should, could detect that.
I wish there was a template for verbs, but there isn't. if there was, it would look like
li v pi w (m)* where w is a word and there is at least one modifier.
li v m where m is anything but mute, lili, suli, is too uncommon in canon or corpus to really know what they mean. For example,
jan li moku waso. He eats bird? Why not jan li moku e waso
jan li moku waso. He eats like a bird? Why not jan li moku sama waso
jan li moku waso. He pecks? Why pecks and not some other specific thing some bird does to eat, like maybe slurp like a humming bird?
jan li kama sona. This one is legit because it and the meaning are in canon.
Re: Two words combination
Also {Kama sona} is modal + verb, so follows a different explanation trail.