aonotas / deep-crf

An implementation of Conditional Random Fields (CRFs) with Deep Learning Method
http://deep-crf.com
MIT License
167 stars 48 forks source link

Supported tag format #52

Open massongit opened 6 years ago

massongit commented 6 years ago

Is supported tag format by deep-crf "[BI] - {Tag Name}" and "O" only?

aonotas commented 6 years ago

I think deep-crf supports BIES-{Tag Name} and O.

massongit commented 6 years ago

Accoding to source code, "[ES] - {Tag Name}" are only supported in evaluate mode (That aren't supported in train and test mode).

https://github.com/aonotas/deep-crf/blob/96c3126fe1f4cff735eb463e1e01cf3062e8f29d/deepcrf/evaluate.py#L39-L45