Hello, /development - Tree of Souls - An Avatar Community Forum
Tree of Souls - An Avatar Community Forum
Go Back   Tree of Souls - An Avatar Community Forum » General Forums » Development

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 11-27-2011, 04:35 AM
TireaAean's Avatar
One of the People
TireaAean 'efu nitram.
 
Join Date: May 2011
Location: m helku
Posts: 244
Send a message via ICQ to TireaAean Send a message via AIM to TireaAean Send a message via MSN to TireaAean Send a message via Yahoo to TireaAean Send a message via Skype™ to TireaAean
Cool Hello, /development

Kaltx.

Are there any other Linux users out there?

Also, who knows PHP and would like to help me out with fixing the dreaded navilator [Navilator.com]?
__________________
Tirea Aean
LearnNavi.org
Reply With Quote
  #2  
Old 11-27-2011, 06:18 AM
Sight Unseen's Avatar
Karyu
Sight Unseen is a perfectly ordinary magical unicorn.
 
Join Date: Mar 2010
Location: Silicon Valley
Posts: 1,349
Default

I use Linux, most of my knowledge is in the Debian side and not RHEL, but I have had to work on RHEL/Fedora a few times.
I understand a little PHP, learned just enough to make dynamic pages on a few sites, that's about it.

If you need help with Linux, I can probably help you. PHP? Not so much.
Reply With Quote
  #3  
Old 11-29-2011, 02:57 AM
Avatar Driver
akiwiguy is a lolcat
 
Join Date: Mar 2011
Location: Auckland, New Zealand
Posts: 16
Default

I know PHP
But Swoka Ikran would also be a good guy to talk to about this.
Reply With Quote
  #4  
Old 11-29-2011, 07:48 PM
stdout's Avatar
King of Output Streams
stdout .
 
Join Date: Mar 2010
Posts: 247
Default

Hi TireaAean!

I use Linux, but I don't know any PHP I'm afraid.
__________________
Reply With Quote
  #5  
Old 11-30-2011, 02:43 AM
Human No More's Avatar
Toruk Makto, Admin
Human No More has no status.
 
Join Date: Mar 2010
Location: In a datacentre
Posts: 11,748
Default

I know some Linux, but really only know the basics of PHP, so probably not in a position to help even if I did know Na'vi.
__________________
...
Reply With Quote
  #6  
Old 12-02-2011, 08:25 AM
txen's Avatar
Pa'li Makto
txen living beyond the pale.
 
Join Date: Mar 2010
Location: Santa Clarita, CA
Posts: 344
Default

Time is my commodity in short supply, but what help do you need?

Been makig a living with Linux and PHP for the last ten years so yea I know a little.
Reply With Quote
  #7  
Old 12-18-2011, 04:34 AM
TireaAean's Avatar
One of the People
TireaAean 'efu nitram.
 
Join Date: May 2011
Location: m helku
Posts: 244
Send a message via ICQ to TireaAean Send a message via AIM to TireaAean Send a message via MSN to TireaAean Send a message via Yahoo to TireaAean Send a message via Skype™ to TireaAean
Default

awesome, awesome. thanks for the responses.

Basically, I am on a quest to improve Navilator. Plain and simple, it kinda sucks. I was wondering if we could come up with a way to make it similar to Google Translate. It would be a big project, but one on the backburner in priority.

Currently, the PHP source for it is basically a large hardcoded array of old words and their definitions. it is oblivious to grammar and different forms of words.

idk if any of you would have any interest in this project or not, but I figured it'd be worth a shot asking around.
__________________
Tirea Aean
LearnNavi.org
Reply With Quote
  #8  
Old 12-18-2011, 10:16 PM
Clarke's Avatar
Karyu
Clarke wants his own Avatar.
 
Join Date: Jul 2011
Location: Scotland, 140 years too early
Posts: 1,330
Default

Google Translate relies on large texts available in multiple languages, from what I understand. Na'vi examples seem lacking, unfortunately.
__________________
Reply With Quote
  #9  
Old 12-20-2011, 12:55 AM
Human No More's Avatar
Toruk Makto, Admin
Human No More has no status.
 
Join Date: Mar 2010
Location: In a datacentre
Posts: 11,748
Default

Yeah, google translate builds its algorithms from publicly available documents (like ones from the UN, I think) which are translated into various languages, I think it works like a genetic algorithm for improving. For a simple improvement, you might just want to change the word/definition to a database format rather than hardcoded, would at least make it more maintainable.
__________________
...
Reply With Quote
  #10  
Old 12-20-2011, 01:00 AM
Clarke's Avatar
Karyu
Clarke wants his own Avatar.
 
Join Date: Jul 2011
Location: Scotland, 140 years too early
Posts: 1,330
Default

You could try writing a formal grammar for Na'vi, but I'm not sure how easy that would be.
__________________
Reply With Quote
  #11  
Old 12-25-2011, 06:50 AM
TireaAean's Avatar
One of the People
TireaAean 'efu nitram.
 
Join Date: May 2011
Location: m helku
Posts: 244
Send a message via ICQ to TireaAean Send a message via AIM to TireaAean Send a message via MSN to TireaAean Send a message via Yahoo to TireaAean Send a message via Skype™ to TireaAean
Default

William Annis' Horen L'fyay leNa'vi is as close as we will get to a formal grammar for Na'vi. no one cares about that. they want a translator machine to do the work for them. (I dont like that, and its just better to learn the language, but whatever) It just occured to me that if the navilator site is up, it might as well at least do its job well.

Unfortunately, it will be difficult to have everything automated and nothing hardcoded. so many exceptional conditions exist such that a machine will have trouble stripping affixes off a word unless the machine is highly sophisticated. Still worth a shot and could be fun.

I'll be thinking on this.
__________________
Tirea Aean
LearnNavi.org

Last edited by TireaAean; 12-25-2011 at 06:53 AM.
Reply With Quote
  #12  
Old 12-25-2011, 02:36 PM
Clarke's Avatar
Karyu
Clarke wants his own Avatar.
 
Join Date: Jul 2011
Location: Scotland, 140 years too early
Posts: 1,330
Default

Well, if you had some method of reliably lexing Na'vi, (i.e. parse it and assign meanings to some parts) that would help significantly. The lenition rules might lead to a combinatorial explosion, but that shouldn't produce too many problems here.

I'm sure it oculd be done, it'd just be a bit complicated.
__________________
Reply With Quote
  #13  
Old 12-25-2011, 07:40 PM
TireaAean's Avatar
One of the People
TireaAean 'efu nitram.
 
Join Date: May 2011
Location: m helku
Posts: 244
Send a message via ICQ to TireaAean Send a message via AIM to TireaAean Send a message via MSN to TireaAean Send a message via Yahoo to TireaAean Send a message via Skype™ to TireaAean
Default

the main issues are lenition, and lexical roots which APPEAR to contain valid infixes but don't.

eg there is a verb infix ay, the future tense. (ay is also a lenitioncausing prefix for making nouns plural)

there is a root verb tswayon, to fly. tswayon with ay infix becomes tswayayon. tswon does not exist.

ay infix actually comes first as if a prefix on verbs which begin with a vowel, eg omum, to know. ayomum, will know.

so yeah, there are little quirks like that which people pick up on but is hard to tell a machine without making the code very hackish.

wht do you mean by "lexing Na'vi, (i.e. parse it and assign meanings to some parts)"?
__________________
Tirea Aean
LearnNavi.org
Reply With Quote
  #14  
Old 12-26-2011, 01:00 AM
Clarke's Avatar
Karyu
Clarke wants his own Avatar.
 
Join Date: Jul 2011
Location: Scotland, 140 years too early
Posts: 1,330
Default

Quote:
Originally Posted by TireaAean View Post
the main issues are lenition, and lexical roots which APPEAR to contain valid infixes but don't.

eg there is a verb infix ay, the future tense. (ay is also a lenitioncausing prefix for making nouns plural)

there is a root verb tswayon, to fly. tswayon with ay infix becomes tswayayon. tswon does not exist.
(Oh come on, Frommer, you didn't have the decency to make the language unambigious? )

How many of those problems could be solved by having the dictionary and a list of infixes on hand? (Perhaps you might also need the infix positions of all the verbs) After all, tswayon would appear in your dictionary as a verb, and so you could tell that tswon doesn't exist.

Quote:
wht do you mean by "lexing Na'vi, (i.e. parse it and assign meanings to some parts)"?
The "naive" way of parsing text, usually used with HTML, is to use pattern matching techniques to grab the text in a certain place. (For instance, grabbing all the images by looking for all the URLs inside img tags.) A more complex but more useful method is to parse and understand the of the text, i.e. You know English well enough that you can see that there's a noun, specifically, missing from that last sentence, rather than just any word. One common way of doing that is explained here.

Once you've "understood" the structure of the text, translating it becomes a lot easier because the program can see where lenition, infixes, etc, might appear.
__________________
Reply With Quote
  #15  
Old 12-26-2011, 02:52 AM
TireaAean's Avatar
One of the People
TireaAean 'efu nitram.
 
Join Date: May 2011
Location: m helku
Posts: 244
Send a message via ICQ to TireaAean Send a message via AIM to TireaAean Send a message via MSN to TireaAean Send a message via Yahoo to TireaAean Send a message via Skype™ to TireaAean
Default

Yes. My attempts in my vrrtep project for stripping affixes are proving very messy. Im doing it in the most naive way possible, methinks.

Also, Pawl LIKES the ambiguity in the language. There is no natural language on Earth which does not have at least one way to create ambiguity. He designed Na'vi in such a way that it would at least seem natural, and not "sterile", having no exceptions to rules(even though there really are few), or natural change over time(eg contractions).

Thanks for the link. In Vrrtep, My problem is, I have a list of infixes, and I am using a containment operator to see if an affix is in a word. Probably not the best way to do it. I need to put more thought on this...


See, if I can get vrrtep to work really well, the navilator can just use that as backend for translations.
__________________
Tirea Aean
LearnNavi.org

Last edited by TireaAean; 12-26-2011 at 02:56 AM.
Reply With Quote
Reply

Tags
linux, na'vi, php, translator

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Visit our partner sites:

      pandoraworld.ru



All times are GMT +1. The time now is 02:39 PM.

Based on the Planet Earth theme by Themes by Design


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO ©2011, Crawlability, Inc.
All images and clips of Avatar are the exclusive property of 20th Century Fox.