Difference between revisions of "Apertium-dixtools"

From Apertium
Jump to navigation Jump to search
m (Redirecting to Crossdics)
 
Line 1: Line 1:
  +
{{TOCD}}
#redirect [[Crossdics]]
 
  +
{{see|Crossdics}}
  +
  +
  +
== Download ==
  +
  +
<pre>
  +
$ svn co https://apertium.svn.sourceforge.net/svnroot/apertium/trunk/apertium-dixtools
  +
</pre>
  +
  +
== Software prerequisites ==
  +
  +
You will need to install [http://ant.apache.org/ Ant] and [http://java.sun.com/javase/downloads/index.jsp Java Development Kit 6 (JDK6)]
  +
  +
$ sudo apt-get install ant sun-java6-jdk
  +
  +
== Compiling ==
  +
  +
<pre>
  +
$ cd apertium-dixtools
  +
$ ant jar
  +
</pre>
  +
  +
== Installing ==
  +
$ sudo ant install
  +
  +
  +
  +
= Notes for developers =
  +
== Wishlist and notes for Apertium-dixtools ==
  +
  +
* theres awful lot of code, much more than needed. another way of handling XML where you dont have to write classes (and formatting code!!) for each tag.
  +
  +
There should be many more options, and ALL sub-commands should take a -fmt parameter where all could be specified:
  +
* 1line or multiline entries
  +
* indenting
  +
* also 1line on pardefs
  +
* multiwords -- one line or many lines
  +
* multiwords -- should they be separated
  +
(because sometimes with complex multiwords you want to have them laid out differently and apart
  +
e.g. you have a section for verbs and it has first "simple" verbs, then it has the multiword verbs)
  +
* multiwords -- the simple verbs are one per line
  +
* multiwords -- and the multiword verbs are over several lines

Revision as of 08:23, 28 November 2008

Template:See


Download

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

Software prerequisites

You will need to install Ant and Java Development Kit 6 (JDK6)

$ sudo apt-get install ant sun-java6-jdk

Compiling

$ cd apertium-dixtools
$ ant jar

Installing

$ sudo ant install


Notes for developers

Wishlist and notes for Apertium-dixtools

  • theres awful lot of code, much more than needed. another way of handling XML where you dont have to write classes (and formatting code!!) for each tag.

There should be many more options, and ALL sub-commands should take a -fmt parameter where all could be specified:

  • 1line or multiline entries
  • indenting
  • also 1line on pardefs
  • multiwords -- one line or many lines
  • multiwords -- should they be separated

(because sometimes with complex multiwords you want to have them laid out differently and apart e.g. you have a section for verbs and it has first "simple" verbs, then it has the multiword verbs)

  • multiwords -- the simple verbs are one per line
  • multiwords -- and the multiword verbs are over several lines