My favorites | Sign in
Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 49: zemberek Open Office'de Otomatik hece ayrimi yapamiyor veya yaptiginda yanlis yapiyor
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Jun 2008
Type-Defect
Priority-Medium
ooo


Sign in to add a comment
 
Reported by koxuz.admin, Jul 03, 2007
Ben bir tek seyi ogrenmek istiyorum: Zemberek, Open office'de dogru bir 
sekilde otomatik Turkce hece ayrimi yapabiliyor mu?

Maalesef bu sorunun cevabi yok.

Bu en onemli konudaki suskunlugun nedeni nedir?

Bende yapamiyor. Yaptiginda yanlis yapiyor.

Butun her seyi de denedim.

Internette bu soruyu baskalari da sormus ve bu problemle karsilasmis ama 
hic birinde tatmin edici bir cevap verilmemis veya varsa bunlara 
internetten ulasilamiyor.

Bana bir kelimelik cevap verebilir misiniz?

Zemberek, (Windows xp'ye kurulmus) Open office'de dogru bir sekilde 
otomatik Turkce hece ayrimi yapabiliyor mu?


Comment 1 by ahmetaa, Jun 09, 2008
V2.1 icin bu konu cozulmeye calisilacak.
Comment 2 by ahmetaa, Jun 09, 2008
(No comment was entered for this change.)
Labels: V2.1
Comment 3 by ahmetaa, Jun 09, 2008
Bunun Zemberek Open office eklentisi projesindeki TurkishHyphenator sinifinin
hyphenate metodundan kaynaklandigini saniyorum. Bu metod XHyphenatedWord cinsinden
bir nesne donduruyor.
http://api.openoffice.org/docs/common/ref/com/sun/star/linguistic2/XHyphenatedWord.html

Buradaki aciklamaya gore o nesnenin getHyphenationPos() metodu su sekilde:

Returns short
    the position where hyphenation was applied in the word.

    The value has to be in the range from 0 (after the first character) to n-2
(before the last character) where n is the length of the word.

Buna gore istanbul kelimesi icin bu deger '0' dondurulurse i-stanbul seklinde
kesiliyor. Ancak Zemberek icindeki hecele() metodu istanbul icin: [0,2,5,8] dizinisi
donduruyor, yani 0 degeri hic kesilme olmamasi anlaminda kullaniliyor. Saniyorum
XHyphenatedWord nesnesi olusturulurken kullanilan

nHyphenationPos = (short)(heceIndeksleri[i-1]);

satiri 

nHyphenationPos = (short)(heceIndeksleri[i-1]-1);

seklinde duzeltilerek bu sorun gecici de olsa cozulebilirdi. Yalniz o metod bu kadar
basit degil, tam cozumun bulunmasi zaman alabilir. Bu sorun ooo ile iliskili
oldugundan Zemberek 2.1 surumunu cikarip hatanin duzeltilmesini ooo eklentisinin yeni
surumune birakmak daha makul.
Labels: -V2.1 ooo
Comment 4 by serkankaba, Jun 11, 2008
rev. 225'de giderildi.
Status: Fixed
Sign in to add a comment

Hosted by Google Code