<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.apertium.org/w/index.php?action=history&amp;feed=atom&amp;title=User%3ARanjan19</id>
	<title>User:Ranjan19 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.apertium.org/w/index.php?action=history&amp;feed=atom&amp;title=User%3ARanjan19"/>
	<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=User:Ranjan19&amp;action=history"/>
	<updated>2026-05-05T14:11:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.apertium.org/w/index.php?title=User:Ranjan19&amp;diff=57004&amp;oldid=prev</id>
		<title>Ranjan19 at 19:21, 16 March 2016</title>
		<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=User:Ranjan19&amp;diff=57004&amp;oldid=prev"/>
		<updated>2016-03-16T19:21:34Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 19:21, 16 March 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-deletedline diff-side-deleted&quot;&gt;&lt;div&gt;This guide shows how to compile a speller for an lttoolbox-based analyser and test it on some text. It is possible to use morphologies created in the Apertium platform directly as spellcheckers using the &#039;&#039;&#039;libvoikko&#039;&#039;&#039; and &#039;&#039;&#039;libreoffice-voikko&#039;&#039;&#039; extension. We will do exactly that. Apertium hfst transducers can be compiled into libraries that libvoikko can use to perform spell checking, including providing suggestions.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt;This guide shows how to compile a speller for an lttoolbox-based analyser and test it on some text. It is possible to use morphologies created in the Apertium platform directly as spellcheckers using the &#039;&#039;&#039;libvoikko&#039;&#039;&#039; and &#039;&#039;&#039;libreoffice-voikko&#039;&#039;&#039; extension. We will do exactly that. Apertium hfst transducers can be compiled into libraries that libvoikko can use to perform spell checking, including providing suggestions.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;The hfst based languages like Apertium-kaz have already accomplished this task so we&#039;ll follow their lead and take a lot of help from their implementation to compile the speller. We will first converting &#039;&#039;&#039;lttoolbox to hfst&#039;&#039;&#039; and then generating a &#039;&#039;&#039;zhfst&#039;&#039;&#039;(to be used as a spell-checker) for an lttoolbox-based language such as Hindi(the sample language in this case).&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt;The hfst based languages like Apertium-kaz have already accomplished this task so we&#039;ll follow their lead and take a lot of help from their implementation to compile the speller. We will first converting &#039;&#039;&#039;lttoolbox to hfst&#039;&#039;&#039; and then generating a &#039;&#039;&#039;zhfst&#039;&#039;&#039;(to be used as a spell-checker) for an lttoolbox-based language such as Hindi(the sample language in this case).&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ranjan19</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.apertium.org/w/index.php?title=User:Ranjan19&amp;diff=56987&amp;oldid=prev</id>
		<title>Ranjan19: /* Using the zhfst file as a spellchecker and testing it from the command line */</title>
		<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=User:Ranjan19&amp;diff=56987&amp;oldid=prev"/>
		<updated>2016-03-15T17:37:10Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Using the zhfst file as a spellchecker and testing it from the command line&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 17:37, 15 March 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 119:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 119:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt; cd apertium-hin  &lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt; cd apertium-hin  &lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt; cp hin.zhfst ~/.voikko/3/hin.zhfst&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt; cp hin.zhfst ~/.voikko/3/hin.zhfst&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-deletedline diff-side-deleted&quot;&gt;&lt;div&gt; echo &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;“अगामी&lt;/del&gt;&quot; | tr &#039; &#039; &#039;\n&#039; | voikkospell -d hin.zhfst -s&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt; echo &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&quot;अगामी&lt;/ins&gt;&quot; | tr &#039; &#039; &#039;\n&#039; | voikkospell -d hin.zhfst -s&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;In this case the spelling of the word is incorrect and requires a trivial correction. The output would be the correct options.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt;In this case the spelling of the word is incorrect and requires a trivial correction. The output would be the correct options.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ranjan19</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.apertium.org/w/index.php?title=User:Ranjan19&amp;diff=56986&amp;oldid=prev</id>
		<title>Ranjan19: /* Install language modules */</title>
		<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=User:Ranjan19&amp;diff=56986&amp;oldid=prev"/>
		<updated>2016-03-15T15:47:26Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Install language modules&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 15:47, 15 March 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 52:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 52:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;This is based on [[Minimal installation from SVN]]:&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt;This is based on [[Minimal installation from SVN]]:&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-deletedline diff-side-deleted&quot;&gt;&lt;div&gt;* To install Kazakh language module, first get it. We&#039;ll need Kazakh module in the implementation as mentioned earlier.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt;* To install Kazakh language module, first get it. We&#039;ll need Kazakh module in the implementation as mentioned earlier&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;. We don&#039;t need to build it&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt; svn co https://svn.code.sf.net/p/apertium/svn/languages/apertium-kaz/&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt; svn co https://svn.code.sf.net/p/apertium/svn/languages/apertium-kaz/&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-deletedline diff-side-deleted&quot;&gt;&lt;div&gt; cd apertium-kaz&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-deletedline diff-side-deleted&quot;&gt;&lt;div&gt; ./autogen.sh --enable-ospell&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-deletedline diff-side-deleted&quot;&gt;&lt;div&gt; make -j4&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;* To install Hindi language module, first get it. We&#039;ll need Kazakh module in the implementation as mentioned earlier.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt;* To install Hindi language module, first get it. We&#039;ll need Kazakh module in the implementation as mentioned earlier.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ranjan19</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.apertium.org/w/index.php?title=User:Ranjan19&amp;diff=56985&amp;oldid=prev</id>
		<title>Ranjan19: Created page with &quot;This guide shows how to compile a speller for an lttoolbox-based analyser and test it on some text. It is possible to use morphologies created in the Apertium platform directl...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=User:Ranjan19&amp;diff=56985&amp;oldid=prev"/>
		<updated>2016-03-15T14:42:45Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This guide shows how to compile a speller for an lttoolbox-based analyser and test it on some text. It is possible to use morphologies created in the Apertium platform directl...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This guide shows how to compile a speller for an lttoolbox-based analyser and test it on some text. It is possible to use morphologies created in the Apertium platform directly as spellcheckers using the &amp;#039;&amp;#039;&amp;#039;libvoikko&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;libreoffice-voikko&amp;#039;&amp;#039;&amp;#039; extension. We will do exactly that. Apertium hfst transducers can be compiled into libraries that libvoikko can use to perform spell checking, including providing suggestions. &lt;br /&gt;
The hfst based languages like Apertium-kaz have already accomplished this task so we&amp;#039;ll follow their lead and take a lot of help from their implementation to compile the speller. We will first converting &amp;#039;&amp;#039;&amp;#039;lttoolbox to hfst&amp;#039;&amp;#039;&amp;#039; and then generating a &amp;#039;&amp;#039;&amp;#039;zhfst&amp;#039;&amp;#039;&amp;#039;(to be used as a spell-checker) for an lttoolbox-based language such as Hindi(the sample language in this case).&lt;br /&gt;
&lt;br /&gt;
As a prerequisite we need to install libreoffice-voikko on Ubuntu/Debian.This guide shows how to do things by manually compiling most of it manually.&lt;br /&gt;
&lt;br /&gt;
You should be able to do make do with just packages from apt-get, so try that first:&lt;br /&gt;
[[Using apertium spellers with libreoffice-voikko on Debian]]. But if one of the packages isn&amp;#039;t working, (parts of) this guide may be helpful.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Install prerequisites==&lt;br /&gt;
First add the repository by following [[Prerequisites for Debian]].&lt;br /&gt;
&lt;br /&gt;
Then install speller-prerequisites:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libreoffice python3 git make sed findutils zip unzip pkg-config gettext \&lt;br /&gt;
   libxml++2.6-dev libarchive-dev zlib1g-dev unzip automake autoconf libtool flex bison g++ libreadline-dev hfst&lt;br /&gt;
&lt;br /&gt;
== Manually compile other prerequisites ==&lt;br /&gt;
&lt;br /&gt;
=== hfst-ospell===&lt;br /&gt;
 wget http://downloads.sourceforge.net/project/hfst/hfst/source/hfstospell-0.4.0.tar.gz&lt;br /&gt;
 tar xvf hfstospell-0.4.0.tar.gz&lt;br /&gt;
 cd hfstospell-0.4.0&lt;br /&gt;
 ./configure --enable-zhfst&lt;br /&gt;
 make -j4&lt;br /&gt;
 sudo make install&lt;br /&gt;
&lt;br /&gt;
=== Libvoikko===&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install hfst-ospell-dev&lt;br /&gt;
 &lt;br /&gt;
 wget http://www.puimula.org/voikko-sources/libvoikko/libvoikko-4.0.tar.gz&lt;br /&gt;
 tar xvf libvoikko-4.0.tar.gz&lt;br /&gt;
 cd libvoikko-4.0&lt;br /&gt;
 ./autogen.sh&lt;br /&gt;
 ./configure --with-dictionary-path=$HOME/.voikko --enable-hfst&lt;br /&gt;
 make -j4&lt;br /&gt;
 sudo make install&lt;br /&gt;
&lt;br /&gt;
You may also have to put &amp;lt;pre&amp;gt;export LD_LIBRARY_PATH=/usr/local/lib&amp;lt;/pre&amp;gt; in your ~/.bashrc&lt;br /&gt;
&lt;br /&gt;
=== voikko-fi===&lt;br /&gt;
 wget http://www.puimula.org/voikko-sources/voikko-fi/voikko-fi-2.0.tar.gz&lt;br /&gt;
 tar xvf voikko-fi-2.0.tar.gz&lt;br /&gt;
 cd voikko-fi-2.0&lt;br /&gt;
 PATH=/usr/local/voikko/bin:$PATH make vvfst&lt;br /&gt;
 sudo make vvfst-install DESTDIR=/usr/local/voikkodict&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Install language modules==&lt;br /&gt;
&lt;br /&gt;
This is based on [[Minimal installation from SVN]]:&lt;br /&gt;
&lt;br /&gt;
* To install Kazakh language module, first get it. We&amp;#039;ll need Kazakh module in the implementation as mentioned earlier.&lt;br /&gt;
 svn co https://svn.code.sf.net/p/apertium/svn/languages/apertium-kaz/&lt;br /&gt;
 cd apertium-kaz&lt;br /&gt;
 ./autogen.sh --enable-ospell&lt;br /&gt;
 make -j4&lt;br /&gt;
&lt;br /&gt;
* To install Hindi language module, first get it. We&amp;#039;ll need Kazakh module in the implementation as mentioned earlier.&lt;br /&gt;
 svn co https://svn.code.sf.net/p/apertium/svn/languages/apertium-hin/&lt;br /&gt;
 cd apertium-hin&lt;br /&gt;
 ./autogen.sh --enable-ospell&lt;br /&gt;
 make -j4&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Converting lttoolbox binary into hfst ===&lt;br /&gt;
&lt;br /&gt;
 lt-print hin.autogen.bin | hfst-txt2fst -e ε &amp;gt; hin.autogen.hfst&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
Here `lt-print foo.autogen.bin` gives a .att file which is taken as an input to hfst-txt2fst.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Generating a zhfst package from the hfst file generated ===&lt;br /&gt;
&lt;br /&gt;
Here we have observed how apertium-kaz generates the zhfst file and implemented that here.&lt;br /&gt;
&lt;br /&gt;
* Copy “dev/editdist.py” and “speller” from apertium-kaz to apertium-hin.&lt;br /&gt;
&lt;br /&gt;
 cp apertium-kaz/dev/editdist.py  apertium-hin/dev/editdist.py&lt;br /&gt;
 cp -r apertium-kaz/speller  apertium-hin/speller&lt;br /&gt;
&lt;br /&gt;
*  Run the following commands in the Hindi language module. These commands have been taken from apertium-kaz zhfst conversion when we compile apertium-kaz i.e during the `make` of apertium-kaz.&lt;br /&gt;
&lt;br /&gt;
 cd apertium-hin&lt;br /&gt;
 cat hin.autogen.hfst | hfst-fst2fst -t | hfst-project --project=lower | hfst-minimise |hfst-fst2fst -f olw -o acceptor.default.hfst&lt;br /&gt;
 grep -v -e &amp;quot;^#&amp;quot; -e &amp;quot;^$&amp;quot; speller/words.default.txt | hfst-strings2fst -j -o words.default.hfst&lt;br /&gt;
 echo &amp;quot;?*;&amp;quot; | hfst-regexp2fst -S -o anystar.hfst&lt;br /&gt;
 grep -v -e &amp;quot;^#&amp;quot; -e &amp;quot;^$&amp;quot; speller/strings.default.txt | hfst-strings2fst -j | hfst-concatenate anystar.hfst - \&lt;br /&gt;
  | hfst-concatenate - anystar.hfst -o strings.default.hfst&lt;br /&gt;
 python dev/editdist.py -v -s -d 1 -e &amp;#039;@0@&amp;#039; -i speller/editdist.default.txt -a acceptor.default.hfst &amp;gt; editdist.default.hfst.txt&lt;br /&gt;
 hfst-txt2fst -i editdist.default.hfst.txt -e &amp;#039;@0@&amp;#039; -o editdist.default.hfst&lt;br /&gt;
 rm -f editdist.default.hfst.txt&lt;br /&gt;
 hfst-disjunct strings.default.hfst editdist.default.hfst | hfst-minimise | hfst-repeat -f 1 -t 2 -o editstrings.default.hfst&lt;br /&gt;
 hfst-disjunct words.default.hfst editstrings.default.hfst | hfst-fst2fst -f olw -o errmodel.default.hfst&lt;br /&gt;
 rm -f hin.zhfst&lt;br /&gt;
 zip -Z store -j hin.zhfst acceptor.default.hfst errmodel.default.hfst speller/index.xml&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here we expect that the proper zhfst file has been generated in the hindi language module.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
=== Using the zhfst file as a spellchecker and testing it from the command line ===&lt;br /&gt;
&lt;br /&gt;
There are two ways to go about this.&lt;br /&gt;
&lt;br /&gt;
* Using hfst-ospell&lt;br /&gt;
 &lt;br /&gt;
 echo &amp;quot;कौशल&amp;quot; | hfst-ospell -S hin.zhfst&lt;br /&gt;
 echo &amp;quot;आदमी&amp;quot; | hfst-ospell -S hin.zhfst&lt;br /&gt;
&lt;br /&gt;
In the above two cases, since the spellings are correct the output should be “The word is in the lexicon”. Not working. The error comes “word not in the lexicon, cannot provide corrections”.&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;अगामी&amp;quot; | hfst-ospell -S hin.zhfst&lt;br /&gt;
&lt;br /&gt;
In this case the spelling of the word is incorrect and requires a trivial correction. The output would be the correct options. Not working. The error comes “word not in the lexicon, cannot provide corrections”.&lt;br /&gt;
&lt;br /&gt;
* Using voikkospell&lt;br /&gt;
&lt;br /&gt;
 cd apertium-hin  &lt;br /&gt;
 cp hin.zhfst ~/.voikko/3/hin.zhfst&lt;br /&gt;
 echo “अगामी&amp;quot; | tr &amp;#039; &amp;#039; &amp;#039;\n&amp;#039; | voikkospell -d hin.zhfst -s&lt;br /&gt;
&lt;br /&gt;
In this case the spelling of the word is incorrect and requires a trivial correction. The output would be the correct options.&lt;/div&gt;</summary>
		<author><name>Ranjan19</name></author>
		
	</entry>
</feed>