Author Topic: The Na'vi Random Word and Text Generator  (Read 1130 times)

0 Members and 1 Guest are viewing this topic.

Offline eanayo

  • 'Eveng
  • ***
  • Posts: 205
  • Karma: 13
  • [n.] (zool.) bluebird
The Na'vi Random Word and Text Generator
« on: March 14, 2010, 02:28:17 pm »
Kaltxì, ma eylan!

Lu oeru prrte' fwa ayngaru wivìntxu ngopyut aylì'uä ahiyìk.

It is my pleasure to reveal to you: The Na'vi Random Word and Text Generator
(or: CPU time well wasted)

I've hacked together a PHP script that generates Na'vi words with a given number of syllables according to Dr Frommer's specifications on Language Log.
There is also an extension bolted to it that generates a block of text made up of random words. You may (or more likely, not) find this useful to try your pronunciation of unknown, yet plausible, words or make a Lorem Ipsum in Na'vi, or... well, maybe you can think of more meaningful applications.

The Na'vi Random Word and Text Generator

Dr Frommer's syllable structure specification has been implemented, with the following sanity additions:
  • end of syllable can not be the beginning of the following syllable
  • this includes parts of diphthongs / digraphs: no aw-w, e-ey, ts-s etc
  • no rrr or lll
  • no syllable-final glottal stops after diphthongs

If there are other restrictions required, or any of the above are actually legal, please let me know and I'll update the script.

A few more points:
  • please don't break it. This is hosted on my private web space, so no funny DDoSes or whatever, kthnx.
  • If it generates an illegal word, please let me know and I'll see to fix it.
  • If it doesn't work on your computer, please let me know and I'll see what I can do.
  • If you have any suggestions for modifications / extensions, please let me know.

Now, have fun!
« Last Edit: November 20, 2010, 04:11:28 am by eanayo »

Visit Our Dictionary for eBook readers, The Na'vi Word Puzzle Game and the Cryptogram Generator
srake tsun pivlltxe san [ˈɔaχkat͡slʃwɔaf]?

Offline Txewì

  • Ketuwong
  • *
  • Posts: 16
  • Karma: 1
  • Tsole'a tsyetutet atsawl frato mì sìrey!
Re: The Na'vi Random Word Generator
« Reply #1 on: March 14, 2010, 02:40:16 pm »
Ooh, this is entertaining :)

It would seem to work pretty well! I even got a few actual words. It does seem to be a bit happy on the rr/ll at times though (spawrrnrrp? ìlrrtsprr? tsìpxllnhll? (which I really cannot pronounce without starting to laugh ;D)).

And I'm pretty sure "don't be silly or I shall feed you to the Palulukan!" is not a valid Na'vi word (nor is it 50 syllabes long) :(

Offline eanayo

  • 'Eveng
  • ***
  • Posts: 205
  • Karma: 13
  • [n.] (zool.) bluebird
Re: The Na'vi Random Word Generator
« Reply #2 on: March 14, 2010, 03:34:06 pm »
Ooh, this is entertaining :)

I'm glad to hear that :)

Quote
It does seem to be a bit happy on the rr/ll at times though (spawrrnrrp? ìlrrtsprr? tsìpxllnhll? (which I really cannot pronounce without starting to laugh ;D)).

Whoopsie! Somehow an "if" disappeared, which allowed rr and ll to substitute vowels in any syllable. Should only occur in CV syllables - that's fixed now.

In general, if a rr / ll is allowed, it is chosen with the same probability as any other vowel. I might change that a little if it keeps its rrtxllrrllkxllrr-fetish ;)

Quote
And I'm pretty sure "don't be silly or I shall feed you to the Palulukan!" is not a valid Na'vi word (nor is it 50 syllabes long) :(

Quiet, you! :P But good point, I might translate it into Na'vi...

Visit Our Dictionary for eBook readers, The Na'vi Word Puzzle Game and the Cryptogram Generator
srake tsun pivlltxe san [ˈɔaχkat͡slʃwɔaf]?

Offline Txewì

  • Ketuwong
  • *
  • Posts: 16
  • Karma: 1
  • Tsole'a tsyetutet atsawl frato mì sìrey!
Re: The Na'vi Random Word Generator
« Reply #3 on: March 14, 2010, 05:48:11 pm »
Whoopsie! Somehow an "if" disappeared, which allowed rr and ll to substitute vowels in any syllable. Should only occur in CV syllables - that's fixed now.

Seems to go a lot better now. I'm getting some pretty decently sounding results, and occasionally, less decent. I've also seen some questionable cases of repeated consonants ("ewwewr"). I'm not even going to start about what is wrong with "pewpew".

Still, it works pretty decently, especially with single-syllable words the frequency at which it comes up with an actual word is pretty good.

Offline hemmond

  • Palulukan Makto
  • *****
  • Posts: 1002
  • Karma: 5
  • I'm who I'm. :) Deal with it. :)
Re: The Na'vi Random Word Generator
« Reply #4 on: March 14, 2010, 06:08:04 pm »
I think, that this generator is good. We know what words are not good, so we simply don't use that wors and click to "generate" button again. :)
old gallery link?id=1849[/img]
old gallery link?id=1890[/img]

http://twitter.com/hemmondssandbox

If it's change in you, then the world is changing too.
--22nd World Scout Jamboree anthem.

Offline eanayo

  • 'Eveng
  • ***
  • Posts: 205
  • Karma: 13
  • [n.] (zool.) bluebird
Re: The Na'vi Random Word Generator
« Reply #5 on: March 15, 2010, 11:51:42 am »
I've also seen some questionable cases of repeated consonants ("ewwewr"). I'm not even going to start about what is wrong with "pewpew".

Hm, that is a good catch. In case anyone is interested how that word (ewwewr) is made up:
(ew)-(wewr): V-CVC: (diphthong) - (consonant - diphthong - consonant)
The "eww" is not caught by the "end of syllable may not be the same as the beginning of next syllable" rule because the diphthongs are treated atomically, so "ew" is not equal to "w", and therefore it passes.

I'm not too confident about the treatment of diphthongs (anyone more knowledgeable? hint, hint!), but I strongly suspect that you're right and such repetitions (aw-w, ew-w, ay-y ey-y) may actually not occur. Also, if anyone knows if my constraint on glottal stops after diphthongs ( (aw')(p) is not permitted, (aw)('a) is ok though) makes sense or not, please let me know ;) I'll leave it as it is for now, and if don't hear otherwise I'll fix it during the week.

"pewpew" on the other hand would seem like a perfectly reasonable onomatopoeia for "firing a gun" - I like it ;)

Thanks to everyone who has given feedback so far!

Ah, by the way: I've added a random text generator to the site... just in case you need a few pages worth of semi-plausible Na'vi :P

edit:
Ok, there were some more problems that are now fixed:
  • All digraph / diphthong - consonant / vowel combinations should now be free of double vowels/consonants, such as aw-w, e-ey, ts-s, t-ts, etc.
  • The second consonant in consonant clusters now shows more variety (was only p before due to a typo, damn you PHP and your lack of variable declarations!)
« Last Edit: March 18, 2010, 05:45:47 am by Aysyal »

Visit Our Dictionary for eBook readers, The Na'vi Word Puzzle Game and the Cryptogram Generator
srake tsun pivlltxe san [ˈɔaχkat͡slʃwɔaf]?

 

Become LearnNavi's friend on Facebook Follow LearnNavi on Twitter! Watch LearnNavi's videos on YouTube

SMF 2.0.17 | SMF © 2017, Simple Machines | XHTML | RSS | WAP2 | Site Rules

LearnNavi is not affiliated with the official Avatar website,
James Cameron, LightStorm Entertainment or The Walt Disney Company.
All trademarks and servicemarks are the properties of their respective owners.
Images in the LearnNavi.org Forums and Gallery may not be used without permission.

LearnNavi Affiliates:
ToS

LearnNavi is the community to learn Na'vi, the Avatar Language
"A place where real friendships are made." -Paul Frommer

AvatarMeet | Learn Na'vi Forum | Learn Na'vi Wiki | Na'viteri

LearnNavi