Hello,
sup_gen.bin is built with the following command

lt-comp rl sup.dix sup_gen.bin

sup.dix is a plain dix file in WX-notation
<https://en.wikipedia.org/wiki/WX_notation> .

-- Amba


On 28 June 2017 at 12:13, Tino Didriksen <tino.didrik...@gmail.com> wrote:

> The Java ports are often behind the C++ code, but that looks more like a
> stream corruption issue. Are you using a UTF-8 locale at all times,
> including when building the sup_gen.bin file?
>
> -- Tino Didriksen
>
>
> On 27 June 2017 at 23:12, विश्वासो वासुकिजः (Vishvas Vasuki) <
> vishvas.vas...@gmail.com> wrote:
>
>> Resending without the attachment (it resulted in a moderation hold).
>> Please use https://www.dropbox.com/s/chbugvb1435j08e/sup_gen.bin?dl=0
>> instead.
>>
>> 2017-06-27 13:26 GMT-07:00 विश्वासो वासुकिजः (Vishvas Vasuki) <
>> vishvas.vas...@gmail.com>:
>>
>>> Hi!
>>>
>>> Compare the following outputs:
>>>
>>> vvasuki@vvasuki-asus:~$ echo 
>>> 'rAma<vargaH:nA><lifgam:puM><viBakwiH:8><vacanam:bahu><level:1>' | 
>>> /usr/bin/lt-proc -ct /home/vvasuki/scl/build/morph_bin/sup_gen.bin
>>> rAmAH
>>> vvasuki@vvasuki-asus:~$ echo 
>>> 'rAma<vargaH:nA><lifgam:puM><viBakwiH:8><vacanam:bahu><level:1>' |java -jar 
>>> lttoolbox-java-3.2.0/lttoolbox.jar lt-proc /usr/bin/lt-proc -ct 
>>> /home/vvasuki/scl/build/morph_bin/sup_gen.bin
>>> �↑ᅵ¦ᅳ
>>>
>>>
>>> ​What explains the above difference? The sup_gen.bin file is attached (I
>>> don't currently have the source.)​
>>>
>>>
>>> Suppose that within java code (without having to run a system command,
>>> which is a overhead), I want the proper output (rAmAH) by using sup_gen.bin
>>> on the same input - what java API would I use and how (an illustrative
>>> couple of lines of code would help)?
>>>
>>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Apertium-stuff mailing list
> Apertium-stuff@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/apertium-stuff
>
>


-- 

Fellow,
Indian Institute of Advanced Study,
Shimla


आ नो भद्रा: क्रतवो यन्तु विश्वत: ll
Let noble thoughts come to us from every side.
- Rig Veda, I-89-i.
Prof. (On leave)
Department of Sanskrit Studies
University of Hyderabad
Prof. C.R. Rao Road
Hyderabad-500 046

(91) 040 23133802(off)

http://sanskrit.uohyd.ac.in/scl
http://sanskrit.uohyd.ac.in/faculty/amba
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Apertium-stuff mailing list
Apertium-stuff@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to