jiesutd / NCRFpp

NCRF++, a Neural Sequence Labeling Toolkit. Easy use to any sequence labeling tasks (e.g. NER, POS, Segmentation). It includes character LSTM/CNN, word LSTM/CNN and softmax/CRF components.
Apache License 2.0
1.89k stars 446 forks source link

Provision for Custom Features? #166

Closed sush-infrrd closed 2 years ago

sush-infrrd commented 3 years ago

Hello, I see that you allow for adding POS and capitalization as features. I was wondering if this could be augmented with other features? For instance I plan on using wordshape (eg 123& -> ddd& ; heE-123 -> xxX-ddd) as an additional feature. Is there a way to do this with NCRF++?

Thanks

jiesutd commented 3 years ago

Yes, you can custom any features you want.