I've used scim-anthy for some time and it works perfectly for inputting Japanese characters. However I wish to look up Kanji I don't know and have been trying to get scim-tomoe (handwriting recognition) to work for this purpose. I can launch the scim-tomoe GUI from the scim panel but no matter what I draw, it never offers anything in the text field below. It's as if it's unable to find the dictionary files. However if I go to the "search by reading" tab, I can search for characters with a specific number of strokes and it turns up results. Then, if I go back and try to draw one of them, nothing. No suggestions at all. Another strange thing is, I've seen a website that has screenshots of a dictionary-tab in the scim-tomoe GUI where one can add user dictionaries. However I do not have such a tab.
The packages tomoe-0.6.0, scim-tomoe-0.6.0 and libtomoe-gtk-0.6.0 are all installed and otherwise scim is working perfectly, as far as I can tell.
The file ~/.tomoe/dict.xml file contains the following:
Code: Select all
<?xml version ="1.0" encoding="UTF-8"?>
<!DOCTYPE dictionary SYSTEM "/usr/share/tomoe/dict.dtd">
<dictionary name="User dictionary">
</dictionary>Code: Select all
<!ELEMENT dictionary (character*)>
<!ATTLIST dictionary
name CDATA #IMPLIED
>
<!ELEMENT character (utf8, variant?, number-of-strokes?, strokes?,
readings?, radicals?, meta?)*>
<!ELEMENT utf8 (#PCDATA)>
<!ELEMENT variant (#PCDATA)>
<!ELEMENT number-of-strokes (#PCDATA)>
<!ELEMENT strokes (stroke*)>
<!ELEMENT stroke (point*)>
<!ELEMENT point EMPTY>
<!ATTLIST point
x CDATA #REQUIRED
y CDATA #REQUIRED
>
<!ELEMENT readings (reading*)>
<!ELEMENT reading (#PCDATA)>
<!ATTLIST reading
type CDATA #IMPLIED
>
<!ELEMENT radicals (radical*)>
<!ELEMENT radical (#PCDATA)>
<!ELEMENT meta ANY>Also, there is a directory /usr/share/tomoe/recognizer which contains the following files:
Code: Select all
-rw-r--r-- 1 root root 8919277 23. Okt 23:00 handwriting-ja.xml
-rw-r--r-- 1 root root 8751834 23. Okt 23:00 handwriting-zh_CN.xml
