<commit_before>using TinySegmenter
using Base.Test

seg = Segmenter()
@test tokenize(seg, "私の名前は中野です") == ["私", "の", "名前", "は", "中野", "です"]<commit_msg>Add test case of empty string<commit_after>using TinySegmenter
using Base.Test

seg = Segmenter()
@test tokenize(seg, "私の名前は中野です") == ["私", "の", "名前", "は", "中野", "です"]
@test tokenize(seg, "") == []
{'fraction_non_alphanumeric': 0.22413793103448276, 'fraction_numerical': 0.0, 'mean_word_length': 6.425531914893617, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3900341', 'n_tokens_mistral': 151, 'n_tokens_neox': 148, 'n_words': 36}