chokkan / crfsuite

CRFsuite: a fast implementation of Conditional Random Fields (CRFs)
http://www.chokkan.org/software/crfsuite/
Other
647 stars 208 forks source link

Issue wie the ':' character as label #28

Open Horsmann opened 10 years ago

Horsmann commented 10 years ago

Hi, if the ':' character is used as label it is swallowed if I print out the predicted labels.

I attached two links for a dummy-set of train/test data below. I trained my model with the command "crfsuite learn -m out.model miniTrain.txt" I printed the prediction by calling "crfsuite tag -m out.model miniTest.txt"

The command line output prints empty lines if the ':' is used as label (red boxes) missinglabel

https://dl.dropboxusercontent.com/u/2953290/miniTrain.txt https://dl.dropboxusercontent.com/u/2953290/miniTest.txt

I am working on OSX 64 bit

timdawborn commented 10 years ago

I have the same issue but running on 64-bit Linux.

usptact commented 9 years ago

The colon character is a special one. The value after colon is expected to be a scale value (float).