Per Tunedal <[email protected]>
writes:
> Hi,
> I've just installed Apertium on an old box. First I tried Ubuntu but was
> caught in DNS-problems. I couldn't use apt-get.
> Now I have tried Debian instead. No networks problems. Apt-get works
> fine.
>
> Apertium is installed from SVN and is working. I have followed the
> instructions in the Wiki for Ubuntu, as Ubuntu is based on Debian (
> http://wiki.apertium.org/wiki/Apertium_on_Ubuntu).
>
> But:
>
> 1. special characters aren't recognised
>
> eg. the example "echo "J'ai deux frères" | apertium fr-es gives an error
> on "frères".
I think you just need to set a UTF-8 locale, put e.g.
export LANG=sv_SE.UTF-8
in your ~/.bashrc or any scripts that run apertium.
The command
$ locale -a
should give you a list of locales, if you don't have any UTF-8 ones,
you can do e.g.
$ echo "sv_SE.UTF-8 UTF-8" | sudo tee -a /var/lib/locales/supported.d/local
$ sudo dpkg-reconfigure locales
> 2. I prepared installing apertium-service but was stuck on the
> dependencies.
>
> a) libboost-system-dev was not found when I tried to install with
> apt-get
Could it be just libboost-dev? Or libboost-filesystem-dev?
(Pasquale?)
> b) how do I proceed to install the other dependencies: liblttoolbox3,
> libapertium3, libtextcat0 and libapertiumcombine1?
> The wiki ( http://wiki.apertium.org/wiki/Apertium-service ) isn't very
> explicit.
The first two should be installed when you install apertium and
lttoolbox.
Ubuntu has libtextcat0, seems like Debian should too:
http://packages.debian.org/search?searchon=names&keywords=libtextcat
libapertiumcombine1 is optional and not really useful unless you have an
SMT system running too. Available from
https://apertium.svn.sourceforge.net/svnroot/apertium/trunk/apertium-combine
if you feel adventurous.
-Kevin
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff