Skip to content

Commit

Permalink
ignore 係助詞
Browse files Browse the repository at this point in the history
revert 0b3058a
  • Loading branch information
mattn committed May 5, 2023
1 parent 8eb44fe commit 5a2b5bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haiku.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func isWord(c []string) bool {
if c[0] == "記号" && c[1] == "一般" {
return true
}
if c[0] == "助詞" && c[1] != "副助詞" && c[1] != "準体助詞" && c[1] != "終助詞" && c[1] != "格助詞" && c[1] != "接続助詞" {
if c[0] == "助詞" && c[1] != "副助詞" && c[1] != "準体助詞" && c[1] != "終助詞" && c[1] != "係助詞" && c[1] != "格助詞" && c[1] != "接続助詞" {
return true
}
if c[0] == "動詞" && c[1] != "接尾" && c[1] != "非自立" {
Expand Down

0 comments on commit 5a2b5bd

Please sign in to comment.