Back

yomichan: a tool for reading books with Anki vocab deck integration

girlsargeeks2 Wrote:Hi, I'm trying to use Yomichan to get started on reading Harry Potter. I got the ebook from the pottermore site, converted it to .txt format using Calibre, but I'm having a problem with the furigana. I'd like to remove them or at least find a way to differentiate them from the words they represent but they come out all mixed up. For example, instead of getting 夫妻[ふさい], I get 夫ふ妻さい. Each kanji has its furigana directly after it, which confuses Yomichan (and me too honestly). Someone please help me fix this!
You can use a text editor that supports find and replace with regular expressions to remove the furigana and brackets. I'm a little fuzzy on regex but I think something like this would do it:

/[.*? t/], ''

Make a back up copy before you try it just in case.
Reply

Messages In This Thread