YouTube Comment Filter

Removes typical comments like 'first' and 'I'm early'. Everything can be modified to the users liking.

< Feedback on YouTube Comment Filter

Review: Good - script works

Deleted user 25884
§
Posted: 2018-01-29

Request: Scriptio continua in asian languages

Sorry for opening another ticket, but I see a lot of asian comments being flagged by the MIN_COMMENT_WORDS filter. I like the filter the most, I just wish it could have an option to allow Japanese, Korean and Chinese/Mandarin to be auto-whitelisted. If it is not too much work of course.

https://en.wikipedia.org/wiki/Scriptio_continua#Chinese_language

TomONeillAuthor
§
Posted: 2018-02-09

It's no problem at all!
It's nice to know which of the filters you like best.

Will look into this, but again like last ticket, I don't know when I will yet.

Deleted user 25884
§
Posted: 2018-02-10

Take your time, if I may help to give a basic idea:
.match(/[\u2E80-\u2FD5\u3400-\u4DBF\u4E00-\u9FCC]/))

they are from:

CJK Radicals Supplement
[\u2e80-\u2fd5]

CJK Unified Ideographs Extension
[\u3400-\u4DBF]

CJK Unified Ideographs
[\u3400-\u4DBF]


but it might be more complicated:
var regex = /[\u3000-\u303F]|[\u3040-\u309F]|[\u30A0-\u30FF]|[\uFF00-\uFFEF]|[\u4E00-\u9FAF]|[\u2605-\u2606]|[\u2190-\u2195]|\u203B/g;


see this maybe:
http://jrgraphix.net/research/unicode.php

I can see why it is so difficult to implement. Thanks again for the update!

Post reply

Sign in to post a reply.