You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Juman, SID header like # S-ID:5-5 is converted with its version like # S-ID:5-5 JUMAN:7.01.
Jumanpp_v2 just passes it without the version like # S-ID:5-5.
As a result, downstream KNP's header breaks like # S-ID:5-5 ���c�� KNP:4.18-CF1.1 DATE:2018/01/30 SCORE:-11.52755.
The text was updated successfully, but these errors were encountered:
Suggestion: add flag --version-comment=<off|append|prepend> with the default state being off.
Otherwise we either append or prepend current version (what is the current version is more complex question).
If a comment of an input sentence was # S-ID:5-5, then we would output:
# S-ID:5-5 for off
# Jumanpp:2.0.0 S-ID:5-5 for prepend
# S-ID:5-5 Jumanpp:2.0.0 for append
eiennohito
changed the title
invalid comment format
Write a Jumanpp version into comments when analyzing
Feb 14, 2018
In Juman, SID header like
# S-ID:5-5
is converted with its version like# S-ID:5-5 JUMAN:7.01
.Jumanpp_v2 just passes it without the version like
# S-ID:5-5
.As a result, downstream KNP's header breaks like
# S-ID:5-5 ���c�� KNP:4.18-CF1.1 DATE:2018/01/30 SCORE:-11.52755
.The text was updated successfully, but these errors were encountered: