Open himkt opened 6 years ago
Current implementation of getTags* doesn't care -nows
option appropriately. MyKytea should consider the configuration via config->getDoWS()
whether it is required to call calculateWS()
. ref:
https://github.com/neubig/kytea/blob/e5d4b765a6140508d56bf2a06676c0c4b1abfc50/src/test/test-analysis.h#L220
I want to use Mykytea with no word segmentation mode (-nows). But it seems not to be possible in current implementation.
Example of
-nows
shows below.My code to try to use
-nows
shows below.And I execute this program to get the result...
Problem
There are unnecessary
UNK
symbols in the analysis result. This is same as analyzing space splitted sentence with-nows
.So I think Mykytea() could not take the
-nows
option correctly. Regards,