Author Topic: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App  (Read 5597 times)

0 Members and 1 Guest are viewing this topic.

Offline Aka`ula

  • Tawtute
  • *
  • Posts: 58
  • nv Eywa'eveng
  • Karma: 1
  • LearnNavi member
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #40 on: February 20, 2017, 10:55:59 pm »
This looks interesting. What does this do that Ctrl-F on a PDF Reader doesn't?  ???

Offline Tirea Aean

  • The Blue One
  • Olo'eyktan Anawm
  • Palulukan Makto
  • *****
  • *
  • *
  • *
  • Posts: 9902
  • nv Eywa'eveng
  • Karma: 243
  • Oeri ran lu srung
    • Tirea Aean
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #41 on: February 20, 2017, 11:02:27 pm »
This looks interesting. What does this do that Ctrl-F on a PDF Reader doesn't?  ???

* Multiple language support (no need to open all the PDFs. Tho I admit this is a nit feature mostly for the euro-smuk)
* Support for looking up tons of Na'vi words in one go (using arguments mode, not the mode used in the gif), fast as hell.
* Support for filtering results by part of speech
* Whole-word matching
* No requirement of PDF reading software (moot point if you use Chrome, I know. :P)
* Works offline, because the data is in text files on your system.

Coming soon:

* Support for looking up affixed words like tireapäpeykiyevängkxängo that would surely not be in the PDF. Only root words are in the PDF
    * To include Support for finding ALL possible results for a word. There are known words that have the exact same spelling but different root words. This would be able to find them ALL, for the first time
* Support for looking up words that have undergone lenition (kx->k, p->f, ts/t->s, etc.)
* Support for converting numbers: octal digits to decimal; decimal digits to octal; Na'vi spelled-out word numbers to both octal and decimal digits
* Narrow down results and re-order them by relevance (most relevant words at the top of the list)

Kind of a lot better than PDF searching. Once it's complete, that is. :)

EDIT: Beware the edits ;D
« Last Edit: February 20, 2017, 11:09:18 pm by Tirea Aean »

kelku ikranä a hawnventi yom podcast (na'vi-only): https://tirearadio.com/podcast
Learn Na'vi Discord Chat: https://discord.gg/WF6qcmv

Offline Aka`ula

  • Tawtute
  • *
  • Posts: 58
  • nv Eywa'eveng
  • Karma: 1
  • LearnNavi member
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #42 on: February 20, 2017, 11:10:58 pm »
This looks interesting. What does this do that Ctrl-F on a PDF Reader doesn't?  ???

* Multiple language support (no need to open all the PDFs. Tho I admit this is a nit feature mostly for the euro-smuk)
* Support for looking up tons of Na'vi words in one go (using arguments mode, not the mode used in the gif), fast as hell.
* Support for filtering results by part of speech
* Whole-word matching
* No requirement of PDF reading software (moot point if you use Chrome, I know. :P)
* Works offline, because the data is in text files on your system.

Coming soon:

* Support for looking up affixed words like tireapäpeykiyevängkxängo that would surely not be in the PDF. Only root words are in the PDF
* Support for looking up words that have undergone lenition (kx->k, p->f, ts/t->s, etc.)
* Support for converting numbers: octal digits to decimal; decimal digits to octal; Na'vi spelled-out word numbers to both octal and decimal digits
* Narrow down results and re-order them by relevance (most relevant words at the top of the list)

Kind of a lot better than PDF searching. Once it's complete, that is. :)

That sounds like it'll be very helpful! I've had to go through like 20 results sometimes when I search up a word through a pdf before  :facepalm:! Do you think this in the future it is possible for basic grammar error checking? Good work by the way, can't wait to see it's progress! :)

Edit: (Although support through the board is probably more preferable as a resource and because of the interaction!)
« Last Edit: February 20, 2017, 11:14:25 pm by Aka`ula »

Offline Tirea Aean

  • The Blue One
  • Olo'eyktan Anawm
  • Palulukan Makto
  • *****
  • *
  • *
  • *
  • Posts: 9902
  • nv Eywa'eveng
  • Karma: 243
  • Oeri ran lu srung
    • Tirea Aean
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #43 on: February 20, 2017, 11:16:05 pm »
This looks interesting. What does this do that Ctrl-F on a PDF Reader doesn't?  ???

* Multiple language support (no need to open all the PDFs. Tho I admit this is a nit feature mostly for the euro-smuk)
* Support for looking up tons of Na'vi words in one go (using arguments mode, not the mode used in the gif), fast as hell.
* Support for filtering results by part of speech
* Whole-word matching
* No requirement of PDF reading software (moot point if you use Chrome, I know. :P)
* Works offline, because the data is in text files on your system.

Coming soon:

* Support for looking up affixed words like tireapäpeykiyevängkxängo that would surely not be in the PDF. Only root words are in the PDF
    * To include Support for finding ALL possible results for a word. There are known words that have the exact same spelling but different root words. This would be able to find them ALL, for the first time
* Support for looking up words that have undergone lenition (kx->k, p->f, ts/t->s, etc.)
* Support for converting numbers: octal digits to decimal; decimal digits to octal; Na'vi spelled-out word numbers to both octal and decimal digits
* Narrow down results and re-order them by relevance (most relevant words at the top of the list)

Kind of a lot better than PDF searching. Once it's complete, that is. :)

EDIT: Beware the edits ;D

That sounds like it'll be very helpful! I've had to go through like 20 results sometimes when I search up a word through a pdf before  :facepalm:!

Srane :D I remember those days too.

Quote
Do you think this in the future it is possible for basic grammar error checking? Good work by the way, can't wait to see it's progress! :)

Actually, yes, I forgot to edit my edited edited edit of the edit, that a Grammar Parser is on the roadmap too. Here are some screenshots from the old one I wrote in Fwew's predecessor:


The one coming in Fwew will probably work and look slightly different from that, but maybe similar. ;)

EDIT: missed a screenshot. hrh :P
« Last Edit: February 20, 2017, 11:24:33 pm by Tirea Aean »

kelku ikranä a hawnventi yom podcast (na'vi-only): https://tirearadio.com/podcast
Learn Na'vi Discord Chat: https://discord.gg/WF6qcmv

Offline Aka`ula

  • Tawtute
  • *
  • Posts: 58
  • nv Eywa'eveng
  • Karma: 1
  • LearnNavi member
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #44 on: February 20, 2017, 11:24:53 pm »
sìltsan sängopìl srung si frapoti  :ikran:

fraporu  (caught myself there  :D)

Offline Tirea Aean

  • The Blue One
  • Olo'eyktan Anawm
  • Palulukan Makto
  • *****
  • *
  • *
  • *
  • Posts: 9902
  • nv Eywa'eveng
  • Karma: 243
  • Oeri ran lu srung
    • Tirea Aean
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #45 on: February 20, 2017, 11:29:53 pm »
sìltsan sängopìl srung si frapoti  :ikran:


Tstunwi! :)

Oe fmi. ;)

I've been working on these console dictionary apps for years. I still haven't got fwew to be what I want it to be, but vrrtepcli as it was, came close.  I've come to find over the years that teaching a machine to understand spoken language is not an easy task! :D


kelku ikranä a hawnventi yom podcast (na'vi-only): https://tirearadio.com/podcast
Learn Na'vi Discord Chat: https://discord.gg/WF6qcmv

Offline Tirea Aean

  • The Blue One
  • Olo'eyktan Anawm
  • Palulukan Makto
  • *****
  • *
  • *
  • *
  • Posts: 9902
  • nv Eywa'eveng
  • Karma: 243
  • Oeri ran lu srung
    • Tirea Aean
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #46 on: August 28, 2018, 01:20:22 am »
Lots of great news in this project!

I have been steadily updating the code for months now.

Introducing Full support for Windows (especially if you use Powershell rather than CMD)

the Read-eval-print loop now works!

Introducing slash-commands! Such as:


~>> /commands
/set       show currently set options, or set given options (separated by space)
/unset     unset given options (separated by space)
/list      list all words with given part of speech
/update    download and update the dictionary file
/commands  Show this commands help text
/help      Show main help text
/exit      exit/quit the program (aliases /quit /q /wc)

examples:
/set
/set i ipa
/unset i
/list svin.
/update
/commands
/help
/exit


How to install (You do NOT need to compile the source code! :D) :

For Windows:

1. Download
    https://github.com/tirea/fwew/archive/master.zip to Desktop

2. Unzip

3. Copy
    the bin\windows\fwew.exe into your user's home directory (C:\Users\<your_username>\)
    the .fwew folder into your user's home directory too

For Mac:

1. Download
    https://github.com/tirea/fwew/archive/master.zip to Desktop

2. Open Terminal.app

3. Copy & Paste then hit enter:
Code: [Select]
unzip ~/Desktop/fwew-master.zip && sudo mkdir -p /usr/local/bin && sudo cp ~/Desktop/fwew-master/bin/mac/fwew /usr/local/bin/ && cp -r ~/Desktop/fwew-master/.fwew ~/    note: it will prompt you for a password because /usr/local/bin/ is in the system path for all users
    note: when you type in your password, there will be no stars or dots displayed to represent typed characters;
             this is normal behavior for password entry in Terminal.

Optional: copy fwew from fwew-master/bin/mac folder into /Applications folder for convenience if you don't regularly use Terminal

For Linux:

1. Download
    https://github.com/tirea/fwew/archive/master.zip to Desktop

2. Open Terminal

3. Copy & Paste and run
Code: [Select]
unzip ~/Desktop/fwew-master.zip && sudo cp ~/Desktop/fwew-master/bin/linux/fwew /usr/local/bin/ && cp -r ~/Desktop/fwew-master/.fwew ~/    note: it will prompt you for a password because /usr/local/bin/ is in the system path for all users
    note: when you type in your password, there will be no stars or dots displayed to represent typed characters;
             this is normal behavior for password entry in Terminal.

I'll be updating the Readme.md on GitHub with the new usage info soon.
« Last Edit: August 29, 2018, 09:18:33 pm by Tirea Aean »

kelku ikranä a hawnventi yom podcast (na'vi-only): https://tirearadio.com/podcast
Learn Na'vi Discord Chat: https://discord.gg/WF6qcmv

Offline Tirea Aean

  • The Blue One
  • Olo'eyktan Anawm
  • Palulukan Makto
  • *****
  • *
  • *
  • *
  • Posts: 9902
  • nv Eywa'eveng
  • Karma: 243
  • Oeri ran lu srung
    • Tirea Aean

kelku ikranä a hawnventi yom podcast (na'vi-only): https://tirearadio.com/podcast
Learn Na'vi Discord Chat: https://discord.gg/WF6qcmv

Offline Blue Elf

  • Palulukan Makto
  • *****
  • *
  • *
  • Posts: 5499
  • cz Czech Republic
  • Karma: 112
    • My attempt for blog
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #48 on: August 28, 2018, 09:22:41 am »
Well, good news!! Definitely will try until end of week. Does dictionary update work = is it possible to update to the last dictionary version? I remember updates didn't work in the past...
Oe lu skxawng skxakep. Slä oe nerume mi.
"Oe tasyätxaw ulte koren za'u oehu" (Limonádový Joe)


Offline Tirea Aean

  • The Blue One
  • Olo'eyktan Anawm
  • Palulukan Makto
  • *****
  • *
  • *
  • *
  • Posts: 9902
  • nv Eywa'eveng
  • Karma: 243
  • Oeri ran lu srung
    • Tirea Aean
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #49 on: August 28, 2018, 10:44:37 am »
Well, good news!! Definitely will try until end of week. Does dictionary update work = is it possible to update to the last dictionary version? I remember updates didn't work in the past...

Data file updates are confirmed to work on all platforms using the /update command from inside fwew.

I have been keeping the data file (dictionary.txt) up to date with the dictionary.

kelku ikranä a hawnventi yom podcast (na'vi-only): https://tirearadio.com/podcast
Learn Na'vi Discord Chat: https://discord.gg/WF6qcmv

Offline Blue Elf

  • Palulukan Makto
  • *****
  • *
  • *
  • Posts: 5499
  • cz Czech Republic
  • Karma: 112
    • My attempt for blog
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #50 on: August 30, 2018, 05:05:07 pm »
I tried on Windows 7 and it works (no surprise :)) I've found, that it can be necessary to set your home directory into PATH variable (when fwew was copied there).
It matters, how cmd is started. If you use Win+R shortcut, type cmd and run it - no problem, no need to set PATH, as working directory is your home directory.
If you have shortcut to cmd created on the desktop (for example), it has by default working directory set to c:\windows\system32 (see attachment). In this case you either need to modify shortcut to run in home directory or set PATH to search your home directory too.
Is there any documentation for commands (especially arguments of /list)?
Oe lu skxawng skxakep. Slä oe nerume mi.
"Oe tasyätxaw ulte koren za'u oehu" (Limonádový Joe)


Offline Tirea Aean

  • The Blue One
  • Olo'eyktan Anawm
  • Palulukan Makto
  • *****
  • *
  • *
  • *
  • Posts: 9902
  • nv Eywa'eveng
  • Karma: 243
  • Oeri ran lu srung
    • Tirea Aean
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #51 on: August 31, 2018, 11:26:29 am »
That makes sense.

The intention on Windows is to have the fwew.exe binary and the .fwew/ folder inside the home folder for exactly that reason. working directory is home folder and is in path if cmd is opened in the home directory. This works well if you have CMD added to your Task bar at the bottom of the screen (I have found as well that this defaults to home dir as present working directory)

The best way, IMO, to set this up is, run Powershell, pin it to task bar. Powershell shows all the UTF-8 characters including ä and ì and IPA characters correctly, and CMD continues to struggle with that (at least in the US)

kelku ikranä a hawnventi yom podcast (na'vi-only): https://tirearadio.com/podcast
Learn Na'vi Discord Chat: https://discord.gg/WF6qcmv

Offline Blue Elf

  • Palulukan Makto
  • *****
  • *
  • *
  • Posts: 5499
  • cz Czech Republic
  • Karma: 112
    • My attempt for blog
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #52 on: September 04, 2018, 09:19:46 am »
Will dig into powershell, cmd is annoying with lack of unicode. So far I discovered one can't run fwew by just writing "fwew" + Enter. You must use the same way as on linux (.\fwew).  Interesting...
Oe lu skxawng skxakep. Slä oe nerume mi.
"Oe tasyätxaw ulte koren za'u oehu" (Limonádový Joe)


Offline Tirea Aean

  • The Blue One
  • Olo'eyktan Anawm
  • Palulukan Makto
  • *****
  • *
  • *
  • *
  • Posts: 9902
  • nv Eywa'eveng
  • Karma: 243
  • Oeri ran lu srung
    • Tirea Aean
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #53 on: February 01, 2019, 12:47:38 pm »
Update for 2019. Ma frapo,

Fwew 3 here. and it is cool.

slash-commands with powerful search features, input history (using up/down arrow keys), and tab-completion.


kelku ikranä a hawnventi yom podcast (na'vi-only): https://tirearadio.com/podcast
Learn Na'vi Discord Chat: https://discord.gg/WF6qcmv

Offline Tìtstewan

  • LearnNavi Zeykoyu
  • Toruk Makto
  • Palulukan Makto
  • *****
  • *
  • *
  • Posts: 9843
  • de Germany
  • Karma: 324
  • Ke lu oeru kea krr krrtalun!
    • My YouTube Channel
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #54 on: February 04, 2019, 02:12:17 pm »
It looks really great! Txantsan! :)

-| Dict-Na'vi.com | Na'viteri Files | FAQ | LM | Puk Pxaw 'Rrta | Kem si fu kem rä'ä si, ke lu tìfmi. |-

Offline Tirea Aean

  • The Blue One
  • Olo'eyktan Anawm
  • Palulukan Makto
  • *****
  • *
  • *
  • *
  • Posts: 9902
  • nv Eywa'eveng
  • Karma: 243
  • Oeri ran lu srung
    • Tirea Aean
Re: Fwew: A Better Crossplatform Na'vi Dictionary Terminal App
« Reply #55 on: February 17, 2019, 08:45:31 am »
Just coming by to announce that I have compiled latest version 3.1.2-dev for all platforms, and it works beautifully!

Windows: Works beautifully. use Powershell for best IPA results. CMD works great as well otherwise.
        fwew.exe Download: https://github.com/tirea/fwew/tree/master/bin/windows

Mac: Works as always.
        fwew Download: https://github.com/tirea/fwew/tree/master/bin/mac

Linux: Use a terminal that supports UTF-8 for best results (most distros support this by default anyway, afaik)
        fwew Download: https://github.com/tirea/fwew/tree/master/bin/linux

Once you have the executable, Download the .fwew folder containing the data files:

https://github.com/tirea/fwew/tree/master/.fwew

Then, make sure this .fwew folder is in your home folder:

Windows:
        C:\Users\<username>\.fwew\config.json
        C:\Users\<username>\.fwew\dictionary.txt

Mac:
        /Users/<username>/.fwew/config.json
        /Users/<username>/.feww/dictionary.txt

Linux:
        /home/<username>/.fwew/config.json
        /home/<username>/.fwew/dictionary.txt

I have also rewritten the README.md: https://github.com/tirea/fwew/blob/master/README.md

Let me know what you think!

kelku ikranä a hawnventi yom podcast (na'vi-only): https://tirearadio.com/podcast
Learn Na'vi Discord Chat: https://discord.gg/WF6qcmv

 

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

SMF 2.0.15 | SMF © 2017, Simple Machines
Privacy Policy
| 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