[CWB] unicode problems with Greek and OCS

Ruprecht von Waldenfels ruprecht.waldenfels at gmx.net
Tue Mar 10 10:53:59 CET 2015


Dear List,

I am using CWB 3.4.8 on 64 bit Ubuntu 14.10.
After encoding a text in Old Church Slavonic, I get invalid UTF-8 
character errors; I seem to get them only in sgml mode (I also get them 
during alignment with the Ancient Greek translation source, which might 
be a related problem, but I am not sure.)

In order to pinpoint the problem with the Old Church Slavonic text, I 
have reduced the text in question to two bible verses. The text can be 
found here: www.parasolcorpus.org/test.txt

I encode the corpus with the following commands:
/opt/CWBUTF8/cwb/utils/cwb-encode -d Data/ntestament_tt -f test.txt -R 
/data/PROIEL/Registry/ntestament_tt -c utf8 -xsB -P lemma -P id -P alig 
-P pos -P tag -S aligVerse:0
/opt/CWBUTF8/cwb/utils/cwb-makeall -r /data/PROIEL/Registry NTESTAMENT_TT

There is no problem in text mode:



However, in sgml mode, some lemmas get truncated and do not contain 
valid utf8 anymore. For example, the lemma of "с҃вщаѩи" is such a token. 
This problem does NOT appear if I search for this token itself, it ONLY 
and consistently appears if I search for a different token and the 
problematic token is in the result set:


To sum up: I get the problem only if I search for a neighboring token in 
sgml mode. I don't get it if I search for the token itself, and I don't 
get it in text mode. I have reduced the problem to w 50-token text, and 
the problem persists.

Any help would be greatly appreciated!
Best,
Ruprecht




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20150310/1d22dc59/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ahjgifej.png
Type: image/png
Size: 77569 bytes
Desc: not available
URL: <http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20150310/1d22dc59/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ehegiedg.png
Type: image/png
Size: 85145 bytes
Desc: not available
URL: <http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20150310/1d22dc59/attachment-0003.png>


More information about the CWB mailing list