Skip to content

Commit

Permalink
ignore 動詞 非自立
Browse files Browse the repository at this point in the history
  • Loading branch information
mattn committed May 1, 2023
1 parent b6ddd63 commit 8eb44fe
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 @@ -51,7 +51,7 @@ func isWord(c []string) bool {
if c[0] == "助詞" && c[1] != "副助詞" && c[1] != "準体助詞" && c[1] != "終助詞" && c[1] != "格助詞" && c[1] != "接続助詞" {
return true
}
if c[0] == "動詞" && c[1] != "接尾" {
if c[0] == "動詞" && c[1] != "接尾" && c[1] != "非自立" {
return true
}
if c[0] == "カスタム人名" || c[0] == "カスタム名詞" {
Expand Down

0 comments on commit 8eb44fe

Please sign in to comment.