undertheseanlp / ner

Vietnamese Named Entity Recognition
51 stars 17 forks source link

the fourth column meaning of ner output #4

Closed Hope-Rita closed 4 years ago

Hope-Rita commented 4 years ago

I want to ask about where can the type and meaning of the fourth column of the output be found?

rain1024 commented 4 years ago

@Hope-Rita I don't understand what you mean. The fourth column of what?

Hope-Rita commented 4 years ago

such as this

sentence = "Ông Putin ca ngợi những thành tựu vĩ đại của Liên Xô" ner(sentence) [('Ông', 'Nc', 'B-NP', 'O'), ('Putin', 'Np', 'B-NP', 'B-PER'), ('ca ngợi', 'V', 'B-VP', 'O'), ('những', 'L', 'B-NP', 'O'), ('thành tựu', 'N', 'B-NP', 'O'), ('vĩ đại', 'A', 'B-AP', 'O'), ('của', 'E', 'B-PP', 'O'), ('Liên Xô', 'Np', 'B-NP', 'B-LOC')] """ the meaning of O' 'B-PER' ……

rain1024 commented 4 years ago

@Hope-Rita the meaning of B-PER is Putin is a Person

You can read more about IOB tagging:

Hope-Rita commented 4 years ago

Thank you!