Back

cb's Japanese Text Analysis Tool

(2015-11-30, 6:33 pm)yogert909 Wrote:
Zarxrax Wrote:Anyone know a tool or some code I can use to take the word frequency report, and limit it to only words which contain kanji?
If you open the report in a text editor which supports regular expressions, search the following, and replace with nothing.

Search for:  ^((?![\x{4e00}-\x{9faf}]).)*\n
Replace with:

Thanks, but this doesn't seem to be working for me.

Edit: whoops, looks like the parts of speech column is throwing it off. I'll just knock that off of there and it looks like it should work then.

Edit 2: Hmm, nope that doesn't seem to be it. Something's not working right for me. I'm trying in notepad++, and have also tested on https://regex101.com/   Regex is greek to me, so I don't know exactly what to look for...
Edited: 2015-12-01, 5:32 pm
Reply