@mujina Thanks for your kind words. I regularly get messages that the traffic limit is reached for the dictionary download, but it nice to hear the script is appreciated directly, too.
Yes, it could have something to do with how you compiled your dictionary. The dictionary starts with a string given, which apparently includes your apostrophe. Looking at the
jaK language files, I see beautiful Japanese characters in the keyboard.txt and morphems.txt files. However, the collates.txt file has no characters at all. Don't know what its source is. It's different from the one found in the
JaR directory. (I've included the files in this post, in case you don't have them. Please put the txt-files of each zip-file in its own 3 letter directory, e.g. jar, jak. In this way you can tell the script and
converter.exe to use them by telling it that the lang-from is jar or jak.)
A few posts back nhedgehog posted a convertion manual. It's in German, so if that's a problem, you'll have to pull it through Google translate.
It doesn't say much more that collates.txt is there for the conversion of characters and you should look at the difference between the collates files in the eng and rus directories for working examples. So you could try to use it to destroy the apostrophe. Normally it's done in the first line:
Code:
1234567890.,-_ '`!?:;*´"()「」。、[]<>{}/\*«»‘’‚‛“”„‟…=
It seems prudent to convert those symbols to Japanse characters and recompile the dictionary. It would replace a.o. the apostrophe with the symbol to the right of the equal (=) sign. In this case it's nothing and so it's destroyed.
You write that it happens whenever a previous symbol is not a kanji, a space or a end of sentence. However, I don't know whether this solution covers all instances as I don't read Japanese. Other simple solutions seem to be to use another font with another symbol width or to select a word from the most right character and moving left until the compound of characters are selected.
It you would be so kind to upload the tweaked languages files, than I could put them into
the repository.