Apertium has moved from SourceForge to GitHub.
If you have any questions, please come and talk to us on #apertium on irc.freenode.net or contact the GitHub migration team.

Difference between revisions of "Apertium-tinylex"

From Apertium
Jump to navigation Jump to search
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  +
{{Github-unmigrated-tool}}
 
{{TOCD}}
 
{{TOCD}}
   
Line 13: Line 14:
 
* Netbeans (>6.0) (some libraries are needed to build the project)
 
* Netbeans (>6.0) (some libraries are needed to build the project)
 
* Mobile Device supporting J2ME MIDP 2.0
 
* Mobile Device supporting J2ME MIDP 2.0
  +
* The [http://plugins.netbeans.org/plugin/10329/netbeans-mobility-microemulator-support Netbeans Mobility Microemulator support plugin] may be useful (on Netbeans 7.0, it's necessary to copy the .nbm files to another directory to install them).
   
 
== Download ==
 
== Download ==
  +
  +
'''Note:''' After Apertium's migration to GitHub, this tool is '''read-only''' on the SourceForge repository and does not exist on GitHub. If you are interested in migrating this tool to GitHub, see [[Migrating tools to GitHub]].
   
 
<pre>
 
<pre>
Line 39: Line 43:
 
dist/fr_ca/fr-ca-apertium-tinylex-0.3.1.jar
 
dist/fr_ca/fr-ca-apertium-tinylex-0.3.1.jar
 
...
 
...
  +
  +
== Generating data ==
  +
  +
The procedure for generating data for Apertium-tinylex begins almost the same as for [[Tinylex_on_a_Palm#Generating_dictionaries_for_PalmOpenDic|Tinylex on Palm]], and uses the same [[Tinylex_on_a_Palm#An_example_of_configuration_file|configuration file]]. The command to run is:
  +
  +
$ apertium-dixtools dix2tiny apertium-en-es.en-es.dix en-es English-Spanish j2me config-en-es.xml
  +
  +
(i.e., the parameter 'palm' is changed to 'j2me')
  +
  +
This command will generate one file:
  +
  +
* <code>en-es-data.zip</code>
   
 
== See also ==
 
== See also ==

Latest revision as of 02:14, 9 March 2018

Note: After Apertium's migration to GitHub, this tool is read-only on the SourceForge repository and does not exist on GitHub. If you are interested in migrating this tool to GitHub, see Migrating tools to GitHub.

TinyLex is a J2ME (Java 2 Micro Edition) program for mobile devices which looks up dictionary entries. It is free software and released under the terms of the GNU General Public License v2.0.

Apertium TinyLex Emulation

Requirements[edit]

  • Ant
  • Java Development Kit 6 (JDK6)
  • Netbeans (>6.0) (some libraries are needed to build the project)
  • Mobile Device supporting J2ME MIDP 2.0
  • The Netbeans Mobility Microemulator support plugin may be useful (on Netbeans 7.0, it's necessary to copy the .nbm files to another directory to install them).

Download[edit]

Note: After Apertium's migration to GitHub, this tool is read-only on the SourceForge repository and does not exist on GitHub. If you are interested in migrating this tool to GitHub, see Migrating tools to GitHub.

$ svn co https://apertium.svn.sourceforge.net/svnroot/apertium/trunk/apertium-mobile/apertium-tinylex

Build[edit]

$ cd apertium-mobile
$ cd apertium-tinylex

It is recommended to open this project with Netbeans before (only the first time). This will create a 'private' directory inside 'nbproject' with some user properties (this is the easiest way to get them).

After that,

$ ant jar-all

Running the application[edit]

Copy/send the .jar file to your mobile device.

dist/en_es/en-es-apertium-tinylex-0.3.1.jar
dist/es_ca/es-ca-apertium-tinylex-0.3.1.jar
dist/fr_ca/fr-ca-apertium-tinylex-0.3.1.jar
...

Generating data[edit]

The procedure for generating data for Apertium-tinylex begins almost the same as for Tinylex on Palm, and uses the same configuration file. The command to run is:

$ apertium-dixtools dix2tiny apertium-en-es.en-es.dix en-es English-Spanish j2me config-en-es.xml

(i.e., the parameter 'palm' is changed to 'j2me')

This command will generate one file:

  • en-es-data.zip

See also[edit]