Inconsistent column size 2 1 train.data while using CRF tool

120 views Asked by At

When I run command

crf_learn -c 4.0 template train.data model 

in cmd prompt it shows an error:

inconsistent column size 2  1 train.data while using CRF tool
1

There are 1 answers

0
H414 On

As the error message says you have "inconsistent column size" in your input train file. That is one or more of your rows have different number of columnts.

Check whether number of columns is same in all the lines of your input train file.

ex:

a b c d

a b c