YouTube Comment Filter

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

< 脚本YouTube Comment Filter的反馈

评价:好评 - 脚本运行良好

Deleted user 25884
§
发表于: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

TomONeill作者
§
发表于: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
§
发表于: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!

发表回复

登录(不可用)以发表回复。

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址