taku910 / crfpp

CRF++: Yet Another CRF toolkit
Other
505 stars 192 forks source link

template : %x[-1,0]/%x[0,0] bigram or unigram? how many features it will generate? #40

Open zhugw opened 7 years ago

zhugw commented 7 years ago

From the documents I know

unigram: |output tag| x |all possible strings expanded with a macro| bigram: |output tag| x |output tag| x |all possible strings expanded with a macro|

Now I have configured a template like this

Unigram
U01:%x[-1,0]/%x[0,0]

in this case is it bigram or unigram ? And how many features it will generate, L N or L L * N?