Author Topic: [Lua] Translator  (Read 18134 times)

0 Members and 1 Guest are viewing this topic.

Offline Loulou 54

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 165
  • Rating: +39/-0
    • View Profile
    • Mes programmes sur TI bank.
[Lua] Translator
« on: September 25, 2011, 10:45:20 am »
I've already had the idee before making a traductor on-calc to get quickly and anywhere the meaning of an english or german word thanks to my calculator. But the TI 89 memory wouldn't be sufficient.. ^^
But this strange idee becomes interesting again thanks to the large memory of Nspires !! :D Moreover Lua has some good string finding features !

So what do you think about such a project ?
The problem remains that I can't find a data list with english-french words to copy and work in my script, without having to write them myself.. O.O
I've already sent a mail to the creator of this website who proposes a freeware like the one I'd like to make on the Nspire : Freelang
No answer for the moment..

Do you know where I may find some data list of this kind ?
Thank you ! :)
« Last Edit: December 11, 2011, 12:25:39 pm by Loulou 54 »
Some of my program available here.. :)
http://ti.bank.free.fr/index.php?mod=archives&ac=voir2&id=1471

     

Offline Scipi

  • Omni Kitten Meow~ =^ω^=
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1547
  • Rating: +192/-3
  • Meow :3
    • View Profile
    • ScipiSoftware
Re: [Lua] Traductor
« Reply #1 on: September 25, 2011, 11:01:12 am »
Huge list of french verbs and english translations. As a start ;)

I can't wait to see how this project turns out! :D

I'll definitely be using it.

http://www.dudziak.com/verbs.php

Imma Cat! =^_^= :3 (It's an emoticon now!)
Spoiler For Things I find interesting:
Spoiler For AI Programming:
Spoiler For Shameless advertising:

Spoiler For OldSig:





Spoiler For IMPORTANT NEWS!:
Late last night, Quebec was invaded by a group calling themselves, "Omnimaga". Not much is known about these mysterious people except that they all carried calculators of some kind and they all seemed to converge on one house in particular. Experts estimate that the combined power of their fabled calculators is greater than all the worlds super computers put together. The group seems to be holding out in the home of a certain DJ_O, who the Omnimagians claim to be their founder. Such power has put the world at a standstill with everyone waiting to see what the Omnimagians will do...

Wait... This just in, the Omnimagians have sent the UN a list of demands that must be met or else the world will be "submitted to the wrath of Netham45's Lobster Army". Such demands include >9001 crates of peanuts, sacrificial blue lobsters, and a wide assortment of cherry flavored items. With such computing power stored in the hands of such people, we can only hope these demands are met.

In the wake of these events, we can only ask, Why? Why do these people make these demands, what caused them to gather, and what are their future plans...

Offline Chockosta

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 447
  • Rating: +169/-6
    • View Profile
Re: [Lua] Traductor
« Reply #2 on: September 25, 2011, 11:42:00 am »
It would be great !
I don't know anything about translation, but I think that it's a huge project...

Good luck !

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: [Lua] Traductor
« Reply #3 on: September 26, 2011, 01:59:04 pm »
www.wordreference.com is by far my favorite translation (not translator :P) website.
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline Loulou 54

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 165
  • Rating: +39/-0
    • View Profile
    • Mes programmes sur TI bank.
Re: [Lua] Traductor
« Reply #4 on: December 11, 2011, 12:21:36 pm »
Hello !

Here is an usable first version of my translator. :)

This is a huge file, so it take some time to be loaded on the Nspire.. There is more then 52 000 words !
Otherwise, it seems to be usefull ! I've even used it monday in an english test ! xD 2 times. Just to prove it could be done. ;) lol

I will continue to improve this version and I will make a french-german one too.

If you have ideas of other functions, please suggest them ! :)

Thanks.

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: [Lua] Translator
« Reply #5 on: December 11, 2011, 01:15:03 pm »
:w00t: that's a lot of words :) great, could you make one from english to dutch too xp nice work!

maybe you could impement a search function? so it compares the input string with the first letters of the word?
« Last Edit: December 11, 2011, 01:16:16 pm by Nick »

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: [Lua] Translator
« Reply #6 on: December 15, 2011, 09:37:23 am »
Hello !

Here is an usable first version of my translator. :)

This is a huge file, so it take some time to be loaded on the Nspire.. There is more then 52 000 words !
Otherwise, it seems to be usefull ! I've even used it monday in an english test ! xD 2 times. Just to prove it could be done. ;) lol

I will continue to improve this version and I will make a french-german one too.

If you have ideas of other functions, please suggest them ! :)

Thanks.
heck you can use a calc on your english test? O.o
I'm not a nerd but I pretend:

Offline Loulou 54

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 165
  • Rating: +39/-0
    • View Profile
    • Mes programmes sur TI bank.
Re: [Lua] Translator
« Reply #7 on: December 17, 2011, 10:43:11 am »
Hello !

Here is an usable first version of my translator. :)

This is a huge file, so it take some time to be loaded on the Nspire.. There is more then 52 000 words !
Otherwise, it seems to be usefull ! I've even used it monday in an english test ! xD 2 times. Just to prove it could be done. ;) lol

I will continue to improve this version and I will make a french-german one too.

If you have ideas of other functions, please suggest them ! :)

Thanks.
heck you can use a calc on your english test? O.o

No but my school bag was on the table so I could use my calculator being hidden. ;)

Nick > Why not. I'll see. ;)
Some of my program available here.. :)
http://ti.bank.free.fr/index.php?mod=archives&ac=voir2&id=1471

     

Offline AzNg0d1030

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 522
  • Rating: +45/-4
  • Hardcore anime watcher.
    • View Profile
Re: [Lua] Translator
« Reply #8 on: January 28, 2012, 10:31:42 pm »
Wait, does it have English -> French?
You just lost the game.



Offline Loulou 54

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 165
  • Rating: +39/-0
    • View Profile
    • Mes programmes sur TI bank.
Re: [Lua] Translator
« Reply #9 on: January 29, 2012, 12:42:16 pm »
Yes, every version has both "direction". You can switch between english>french and french >english or german>french and french>german using the [tab] key. :)
« Last Edit: January 29, 2012, 12:42:52 pm by Loulou 54 »
Some of my program available here.. :)
http://ti.bank.free.fr/index.php?mod=archives&ac=voir2&id=1471

     

Offline AzNg0d1030

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 522
  • Rating: +45/-4
  • Hardcore anime watcher.
    • View Profile
Re: [Lua] Translator
« Reply #10 on: January 29, 2012, 03:10:54 pm »
Okay awesome. This is all already available in the version you posted above correct?
You just lost the game.



Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: [Lua] Translator
« Reply #11 on: January 29, 2012, 08:42:44 pm »
This looks nice, good luck with this project! :)


Offline njaddison

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 176
  • Rating: +24/-27
    • View Profile
Re: [Lua] Translator
« Reply #12 on: January 29, 2012, 08:49:53 pm »
If I take my calculator out in any other class than math, it gets taken. And if I get caught playing games on it during math class, it gets taken.
<a href="http://www.nerdtests.com/ft_nt2.php">
<img src="http://www.nerdtests.com/images/badge/nt2/5f42ec78e054645d.png" alt="NerdTests.com says I'm a Highly Dorky Nerd God.  Click here to take the Nerd Test, get geeky images and jokes, and talk to others on the nerd forum!">
</a>


Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: [Lua] Translator
« Reply #13 on: January 30, 2012, 01:48:52 am »
If I take my calculator out in any other class than math, it gets taken. And if I get caught playing games on it during math class, it gets taken.
Easy solution, don't play during school ;D

Offline Loulou 54

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 165
  • Rating: +39/-0
    • View Profile
    • Mes programmes sur TI bank.
Re: [Lua] Translator
« Reply #14 on: February 04, 2012, 11:16:20 am »
If I take my calculator out in any other class than math, it gets taken. And if I get caught playing games on it during math class, it gets taken.
I managed to use it thursday in a german test ! :D We have to count the words of our text, so I pretended like I was counting ! :P
But actually no, I was typing "dicht" or "besiedelt" ... !
(That's a good thing though, as I remember the words I searched ! ;) )

Okay awesome. This is all already available in the version you posted above correct?
The version I posted above already allows you to search and navigate in the whole list, but this is still a poor version compared to the actual version. ;)

EDIT : So here is the current versions of english and german :)
« Last Edit: February 04, 2012, 11:23:00 am by Loulou 54 »
Some of my program available here.. :)
http://ti.bank.free.fr/index.php?mod=archives&ac=voir2&id=1471