Github user takuti commented on the issue:
https://github.com/apache/incubator-hivemall/pull/97
^ In 474027264121c66a673cd6da483111b22f65b2fd, `tokenize_ja()` supports
"NULL" stop words/tags in order to allow users to explicitly choose default
set. That is, `null` and `array()` are dealt differently. This modification
improves usability of the fifth argument.
```sql
hive> select
> tokenize_ja("仿¥ã¯ç¹ã«ãã天æ°ã§ããã", "normal") as
default1,
> tokenize_ja("仿¥ã¯ç¹ã«ãã天æ°ã§ããã", "normal",
null) as default2, -- use default stop words
> tokenize_ja("仿¥ã¯ç¹ã«ãã天æ°ã§ããã", "normal",
array()) as no_stopwords, -- "empty" (i.e., no) stop words
> tokenize_ja("仿¥ã¯ç¹ã«ãã天æ°ã§ããã", "normal",
null, null) as default3, -- use default stop word and tags
> tokenize_ja("仿¥ã¯ç¹ã«ãã天æ°ã§ããã", "normal",
null, array()) as no_stoptags, -- "empty" stop tags
> tokenize_ja("仿¥ã¯ç¹ã«ãã天æ°ã§ããã", "normal",
array(), array()) as no_stopwords_stoptags -- "empty" stop words and tags
> ;
OK
default1 default2 no_stopwords default3 no_stoptags
no_stopwords_stoptags
["仿¥","ãã","天æ°"] ["仿¥","ãã","天æ°"]
["仿¥","ç¹ã«","ãã","天æ°"] ["仿¥","ãã","天æ°"]
["仿¥","ãã","天æ°","ã"]
["仿¥","ã¯","ç¹ã«","ãã","天æ°","ã§ã","ã"]
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---