Dear all,
I propose the tool I used to create the TER scorer for mert.
you can find it there :
http://sourceforge.net/projects/tercpp
It is implemented in C++ and use boost library and cmake for compilation.
Here is the help :
tercpp [--tercom] [--sgml] [--debugMode] [--noTxtIds] [-s] [-P] -r
ref[,ref2...] -h hyp :
--tercom : to use the tercom standart normalization
--noTxtIds : you don't have to add ids at the end
of sentences
--sgml : to score with sgml files
(incompatible with --noTxtIds and plain text files)
--debugMode : print debug messages
-s : to be case sensitive
-P : do not take account of punctuation
--help : print this help message.
the ref and hyp file format with ids is like this :
==================
my sentence (1)
other sentence (2)
...
==================
if you don't want to add some ids to your files use the switch --noTxtIds.
You also can evaluate the sgml files but the reference and the test
files should be at the same format.
This tool works for arabic, I think it should work for persian.
For any question, feel free to contact me.
Regards,
Christophe
Le 26/09/2011 15:41, Lane Schwartz a écrit :
> If the TER code isn't working properly for your language, your best
> bet would be to contact the authors of that code directly.
>
> On Mon, Sep 26, 2011 at 9:38 AM, saeed farzi<[email protected]> wrote:
>> Dear Lane, It is not work with Persian languages (Unicode) correctly.
>>
>> On Mon, Sep 26, 2011 at 5:06 PM, Lane Schwartz<[email protected]> wrote:
>>> http://www.umiacs.umd.edu/~snover/terp
>>>
>>> On Mon, Sep 26, 2011 at 9:33 AM, saeed farzi<[email protected]> wrote:
>>>> Hi all,
>>>>
>>>> Can anybody introduce me a tool for calculating TER, and a tool for
>>>> analysizing ouput of moses.
>>>> --
>>>> S.Farzi, Ph.D. Student
>>>> Natural Language Processing lab,
>>>> School of Electrical and Computer Eng,
>>>> Tehran University
>>>> Tel: +9821-6111-9719
>>>> _______________________________________________
>>>> Moses-support mailing list
>>>> [email protected]
>>>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>>>
>>>
>>>
>>> --
>>> When a place gets crowded enough to require ID's, social collapse is not
>>> far away. It is time to go elsewhere. The best thing about space travel
>>> is that it made it possible to go elsewhere.
>>> -- R.A. Heinlein, "Time Enough For Love"
>>
>>
>> --
>> S.Farzi, Ph.D. Student
>> Natural Language Processing lab,
>> School of Electrical and Computer Eng,
>> Tehran University
>> Tel: +9821-6111-9719
>>
>
>
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support