Skip to content

Commit

Permalink
助詞 should be followed after 名詞
Browse files Browse the repository at this point in the history
  • Loading branch information
mattn committed Jul 3, 2024
1 parent 9dde9a7 commit e2f3376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ func collectWords(ev *nostr.Event) {
}
prev += token.Surface
continue
} else if cc[0] == "助詞" && cc[1] == "接尾" {
} else if prev != "" && cc[0] == "助詞" && cc[1] == "接尾" {
prev += token.Surface
continue
} else if cc[0] == "形容詞" {
Expand Down

0 comments on commit e2f3376

Please sign in to comment.