Skip to content

Instantly share code, notes, and snippets.

@tzmfreedom
Created March 3, 2016 09:09
Show Gist options
  • Save tzmfreedom/2216fcfcfc64e94d5d86 to your computer and use it in GitHub Desktop.
Save tzmfreedom/2216fcfcfc64e94d5d86 to your computer and use it in GitHub Desktop.
index.analysis.analyzer.default.type: custom
index.analysis.analyzer.default.tokenizer: ja_tokenizer
index.analysis.analyzer.default.filter.0: pos_filter
index:
analysis:
filter:
pos_filter:
type: kuromoji_part_of_speech
stoptags: ["接続詞", "助動詞", "助詞", "助詞-格助詞", "助詞-格助詞-一般", "助詞-格助詞-引用", "助詞-格助詞-連語", "助詞-接続助詞", "助詞->係助詞", "助詞-副助詞", "助詞-間投助詞", "助詞-並立助詞", "助詞-終助詞", "助詞-副助詞/並立助詞/終助詞", "助詞-連体化", "助詞-副詞化", "助詞-特殊"]
tokenizer:
ja_tokenizer:
type: kuromoji_tokenizer
mode: search
user_dictionary: userdict_ja.txt
analyzer:
ja:
type: custom
tokenizer: ja_tokenizer
filter:
- pos_filter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment