scrapinghub / python-crfsuite

A python binding for crfsuite
MIT License
769 stars 223 forks source link

[Question] How is string feature handled? #129

Open GeekAlexis opened 2 years ago

GeekAlexis commented 2 years ago

Thanks for the great project.

As I know, the CRF model only takes real values. If I use the suffix of a word (say last 4 letters) as a feature, is it internally converted to a binary feature with all combinations of the 4 letters (up to 26 x 26 x 26 x 26 dimensional)? I don't see this documented anywhere.