Adding a TU with multiple lines & searchSegment

Anonymous
Offline Anonymous

Hello,

I use the method that adds TUs in a translation memory file and then somewhere in the program I call the searchSegment method.

If the translation unit that I add consists of multiple rows then the searchSegment method gives back strange matching-score values.For example,for a single matching result I get 97% instead of hundrend percent.The only type of penalty I use is the multipleEntries penalty.So, it doesn't seem to be a problem that has to do with penatlies.

Could anyone help me with this problem?

Thanks in advance.

Nikos