Hi Medamoni,
The bug has been fixed, but your example still doesent work.
It seems you are using transliteration mode to work with... symbols?!?
<vargaH:nA>
<vargaH:sarva>
<vargaH:nA-vi>
<vargaH:pUraNam>
I'll need a source code example (and a reason of why you chose -t mode)
before I proceed.
2013/4/9 Jacob Nordfalk <[email protected]>
> Hi Medamoni,
>
> Transliteration has not been used at all in the Java port.
>
> Ive tested a simple example and it seem there is a bug.
>
> Here is notes for the developer (probably me :-) with a simple example to
> reproduce:
>
> $ lt-comp lr
> /home/j/esperanto/apertium/trunk/apertium-sh-mk/apertium-sh-mk.translit.dix
> translit.bin
> main@inconditional 5 65
> j@ubuntu12:~/Hent$ echo "To je prova" | lt-proc -t translit.bin
> То је прова
> j@ubuntu12:~/Hent$ echo "To je prova" | lt-proc-j -t translit.bin
> java.lang.StringIndexOutOfBoundsException: String index out of range: 1
> at java.lang.String.charAt(String.java:658)
> at
> org.apertium.lttoolbox.process.FSTProcessor.transliteration(FSTProcessor.java:1681)
> at org.apertium.lttoolbox.LTProc.doMain(LTProc.java:267)
> at org.apertium.lttoolbox.LTProc.main(LTProc.java:98)
>
>
> How important is this feature for you? It it something that needs to get
> fixed or can you live with using the C++ version?
>
>
>
>
>
> 2013/4/9 karunakar medamoni <[email protected]>
>
>> Hi Jacob
>>
>> Thanks for reply. Use below links to download bin file.
>>
>> http://sanskrit.uohyd.ac.in/~karunakara/skt_gen.bin
>> or
>> 10.5.4.61/~karunakara/skt_gen.bin
>>
>> Thanks & Regards
>>
>> M. Karunakar
>> University of Hyderabad,Hyd,
>> 9491388035.
>>
>>
>> On Tue, Apr 9, 2013 at 1:08 PM, Jacob Nordfalk
>> <[email protected]>wrote:
>>
>>> Hi Medamoni,
>>>
>>> It looks like an encoding issue. You have sent the input but not the
>>> transducer .bin file.
>>> Please put your *skt_gen.bin * somewhere where we can download it and
>>> I'll have a try.
>>>
>>> Jacob
>>>
>>>
>>> 2013/4/9 karunakar medamoni <[email protected]>
>>>
>>>> Hi everyone
>>>>
>>>> Am getting unknown output with lt-proc-j and getting correct output
>>>> with lt-proc. Here am pasting two output. Please have look at once. If any
>>>> suggestions please share with me.
>>>>
>>>> *java lt-proc code and output*
>>>>
>>>> My Java-Code *LTProc.main(new
>>>> String[]{"-c","-t","/home/karunakar/scl/skt_gen/bin/skt_gen.bin","input"});
>>>> *
>>>>
>>>>
>>>>
>>>> ���■₩←
>>>> ���■₩│
>>>> ���■₩
>>>> ���■¥←
>>>> ���■¥│
>>>> ���■¥
>>>> ���■¦←
>>>> ���■¦│
>>>> ���■¦
>>>> ���■ ̄←
>>>> ���■ ̄│
>>>> ���■ ̄
>>>> ���■¬←
>>>> ���■¬│
>>>> ���■¬
>>>> ���■£←
>>>> ���■£│
>>>> ���■£
>>>> ���■¢←
>>>> ���■¢│
>>>> ���■¢
>>>> ���■←
>>>> ���■│
>>>> ���■
>>>>
>>>> *Lt-proc code and output
>>>>
>>>> karunakar@karunakar:~$ cat /home/karunakar/workspace-ecl/Morph/input |
>>>> lt-proc -c -t /home/karunakar/scl/skt_gen/bin/skt_gen.bin
>>>>
>>>> rAmaH
>>>> rAmO
>>>> rAmAH
>>>> rAmam
>>>> rAmO
>>>> rAmAn
>>>> rAmeNa
>>>> rAmAByAm
>>>> rAmEH
>>>> rAmAya
>>>> rAmAByAm
>>>> rAmeByaH
>>>> rAmAw/rAmAx
>>>> rAmAByAm
>>>> rAmeByaH
>>>> rAmasya
>>>> rAmayoH
>>>> rAmANAm
>>>> rAme
>>>> rAmayoH
>>>> rAmeRu
>>>> rAma
>>>> rAmO
>>>> rAmAH
>>>>
>>>> *
>>>> *
>>>> *
>>>> Thanks & Regards
>>>>
>>>> M. Karunakar
>>>> University of Hyderabad,Hyd,
>>>> 9491388035.
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Precog is a next-generation analytics platform capable of advanced
>>>> analytics on semi-structured data. The platform includes APIs for
>>>> building
>>>> apps and a phenomenal toolset for data science. Developers can use
>>>> our toolset for easy data analysis & visualization. Get a free account!
>>>> http://www2.precog.com/precogplatform/slashdotnewsletter
>>>> _______________________________________________
>>>> Apertium-stuff mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/apertium-stuff
>>>>
>>>>
>>>
>>>
>>> --
>>> Jacob Nordfalk <http://profiles.google.com/jacob.nordfalk>
>>> javabog.dk
>>> Androidudvikler og -underviser på
>>> DTU<http://cv.ihk.dk/diplomuddannelser/itd/vf/MAU>og
>>> Lund&Bendsen<https://www.lundogbendsen.dk/undervisning/beskrivelse/LB1809/>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Precog is a next-generation analytics platform capable of advanced
>>> analytics on semi-structured data. The platform includes APIs for
>>> building
>>> apps and a phenomenal toolset for data science. Developers can use
>>> our toolset for easy data analysis & visualization. Get a free account!
>>> http://www2.precog.com/precogplatform/slashdotnewsletter
>>> _______________________________________________
>>> Apertium-stuff mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/apertium-stuff
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> Precog is a next-generation analytics platform capable of advanced
>> analytics on semi-structured data. The platform includes APIs for building
>> apps and a phenomenal toolset for data science. Developers can use
>> our toolset for easy data analysis & visualization. Get a free account!
>> http://www2.precog.com/precogplatform/slashdotnewsletter
>> _______________________________________________
>> Apertium-stuff mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/apertium-stuff
>>
>>
>
>
> --
> Jacob Nordfalk <http://profiles.google.com/jacob.nordfalk>
> javabog.dk
> Androidudvikler og -underviser på
> DTU<http://cv.ihk.dk/diplomuddannelser/itd/vf/MAU>og
> Lund&Bendsen<https://www.lundogbendsen.dk/undervisning/beskrivelse/LB1809/>
>
--
Jacob Nordfalk <http://profiles.google.com/jacob.nordfalk>
javabog.dk
Androidudvikler og -underviser på
DTU<http://cv.ihk.dk/diplomuddannelser/itd/vf/MAU>og
Lund&Bendsen <https://www.lundogbendsen.dk/undervisning/beskrivelse/LB1809/>
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff