CRFSharp icon indicating copy to clipboard operation
CRFSharp copied to clipboard

format Errors

Open project-ext opened this issue 6 years ago • 1 comments

err,20/03/2018 11:47:50  format error: U07:%x[-1,1]
err,20/03/2018 11:47:50  format error: U08:%x[0,1]
err,20/03/2018 11:47:50  format error: U09:%x[1,1]

example of data 2013. DATE

template

# Unigram
U01:%x[-1,0]
U02:%x[0,0]
U03:%x[1,0]
U07:%x[-1,1]
U08:%x[0,1]
U09:%x[1,1]

# Bigram
B

ive made sure my train data is tabbed

project-ext avatar Mar 20 '18 11:03 project-ext

@samwood2011 According to your example of data, you only have one column for features (the second column in your example is for tagging result, but not feature), so U07, U08 and U09 are invalidated. You could remove them from template file, or add a new column for new features.

zhongkaifu avatar Mar 26 '18 16:03 zhongkaifu