Skip to content

Commit

Permalink
fix wrong indentation in nori_number test
Browse files Browse the repository at this point in the history
  • Loading branch information
danmuzi committed Mar 23, 2020
1 parent 6ed33a1 commit 1a4367e
Showing 1 changed file with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,18 @@
- match: { tokens.0.token: 향가 }
---
"Number filter":
- do:
indices.analyze:
body:
text: 십만이천오백과 3.2천
tokenizer:
type: nori_tokenizer
discard_punctuation: false
filter:
- type: nori_part_of_speech
stoptags: ["SP"]
- type: nori_number
- length: { tokens: 3 }
- match: { tokens.0.token: "102500"}
- match: { tokens.1.token: 과}
- match: { tokens.2.token: "3200"}
- do:
indices.analyze:
body:
text: 십만이천오백과 3.2천
tokenizer:
type: nori_tokenizer
discard_punctuation: false
filter:
- type: nori_part_of_speech
stoptags: ["SP"]
- type: nori_number
- length: { tokens: 3 }
- match: { tokens.0.token: "102500"}
- match: { tokens.1.token: 과}
- match: { tokens.2.token: "3200"}

0 comments on commit 1a4367e

Please sign in to comment.