Skip to content

Commit

Permalink
remove checking 非自立
Browse files Browse the repository at this point in the history
  • Loading branch information
mattn committed May 1, 2023
1 parent a4814e4 commit 06ff47a
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 @@ -32,7 32,7 @@ func isIgnore(c []string) bool {
// sentence.
func isWord(c []string) bool {
for _, f := range []string{"名詞", "形容詞", "形容動詞", "副詞", "連体詞", "接続詞", "感動詞", "接頭詞", "フィラー"} {
if f == c[0] && c[1] != "非自立" && c[1] != "接尾" {
if f == c[0] && c[1] != "接尾" {
return true
}
}
Expand Down

0 comments on commit 06ff47a

Please sign in to comment.