statsmaths / cleanNLP

R package providing annotators and a normalized data model for natural language processing
GNU Lesser General Public License v2.1
209 stars 36 forks source link

sid 0-indexed for entity #57

Closed jonthegeek closed 4 years ago

jonthegeek commented 5 years ago

Similar to #11.

The entity table has 0-indexed sid.

cnlp_init_corenlp()
annotation <- cnlp_annotate("At the W party Thursday night at Chateau Marmont, Cate Blanchett barely made it up in the elevator.")
any(annotation$entity$sid == 0)
statsmaths commented 4 years ago

Thanks! Yes, fixed in the new major update (v3.0.0).