Difference between revisions of "Voikkospell"

From Apertium
Jump to navigation Jump to search
Line 4: Line 4:
To clone it, execute the following command:
To clone it, execute the following command:


<pre>
<nowiki>git clone https://github.com/m5w/corevoikko.git corevoikko</nowiki>
git clone https://github.com/m5w/corevoikko.git corevoikko
</pre>


To install the fork's voikkospell, install its libvoikko, which has the same dependencies as [https://github.com/voikko/corevoikko/libvoikko libvoikko]. After installing them, execute the following commands:
To install the fork's voikkospell, install its libvoikko, which has the same dependencies as [https://github.com/voikko/corevoikko/libvoikko libvoikko]. After installing them, execute the following commands:


<pre>
<nowiki>cd corevoikko/libvoikko
cd corevoikko/libvoikko
./configure
./configure
make
make
sudo make install</nowiki>
sudo make install
</pre>


If you do not have root privileges or would like to specify where to install libvoikko, execute the following instead: (Otherwise, you are finished with installation.)
If you do not have root privileges or would like to specify where to install libvoikko, execute the following instead: (Otherwise, you are finished with installation.)


<nowiki>cd corevoikko/libvoikko
<pre>cd corevoikko/libvoikko
PREFIX="$HOME/install/corevoikko" # e.g.
PREFIX="$HOME/install/corevoikko" # e.g.
./configure --prefix="$PREFIX"
./configure --prefix="$PREFIX"
make
make
make install</nowiki>
make install
</pre>


Finally, add your '"$PREFIX"' to your '''"$PATH"''' by appending the following lines to your '''.profile''':
Finally, add your <code>"$PREFIX"</code> to your <code>"$PATH"</code> by appending the following lines to your <code>.profile</code>:


<pre>
<nowiki>PREFIX="$HOME/install/corevoikko" # e.g.
PREFIX="$HOME/install/corevoikko" # e.g.
if [ -d "$PREFIX" ]; then
if [ -d "$PREFIX" ]; then
export PATH="$PREFIX:$PATH"
export PATH="$PREFIX:$PATH"
fi
fi</nowiki>
</pre>


==Using voikkospell with apertium Stream Format==
==Using voikkospell with apertium Stream Format==

Revision as of 21:54, 14 December 2015

Installation

m5w/corevoikko, a fork of corevoikko, supports apertium stream format.

To clone it, execute the following command:

git clone https://github.com/m5w/corevoikko.git corevoikko

To install the fork's voikkospell, install its libvoikko, which has the same dependencies as libvoikko. After installing them, execute the following commands:

cd corevoikko/libvoikko
./configure
make
sudo make install

If you do not have root privileges or would like to specify where to install libvoikko, execute the following instead: (Otherwise, you are finished with installation.)

cd corevoikko/libvoikko
PREFIX="$HOME/install/corevoikko" # e.g.
./configure --prefix="$PREFIX"
make
make install

Finally, add your "$PREFIX" to your "$PATH" by appending the following lines to your .profile:

PREFIX="$HOME/install/corevoikko" # e.g.
if [ -d "$PREFIX" ]; then
        export PATH="$PREFIX:$PATH"
fi

Using voikkospell with apertium Stream Format