Ticket #21800 (closed submission: fixed)
new port: apertium 3.1.1
|Reported by:||p.ixiemotion@…||Owned by:||macports-tickets@…|
Apertium is a machine translation platform, especially meant for closely related languages. It uses port:lttoolbox for finite state morphology, hidden Markov models for disambiguation, and finite-state three-stage chunk-based transfer.
This package provides the language-independent machine translation engine, including both translation tools (deformatters for ODT, HTML, DOCX, etc; TMX handling; the actual translation pipeline) and the tools necessary to create new language pairs. Language data is not included (there are a lot of language pairs available on sf.net/projects/apertium and in SVN though).
The Portfile is attached.
http://wiki.apertium.org/wiki/Apertium_on_Mac_OS_X_%28System%29 lists dependencies; however, I got it to build with only these ports active:
lttoolbox gawk pkgconfig expat gettext gperf libiconv ncurses ncursesw pcre zlib
(Although I don't know whether any of them are considered _build_ dependencies?) libxslt was necessary to build the language pairs apertium-nn-nb and apertium-en-es
I'm not sure whether the following ports are necessary anywhere:
m4 flex libtool help2man perl5.8 p5-locale-gettext
...so I left them out for now.