apmoore1 / target-extraction

Target based extraction
https://apmoore1.github.io/target-extraction/
Apache License 2.0
4 stars 1 forks source link

Add categories and sentiment to sequence labels #3

Closed apmoore1 closed 4 years ago

apmoore1 commented 5 years ago

Within target_extraction.data_types.TargetText.sequence_labels it would be good to have two flags e.g. categories, sentiments where if True then the sequence labels will be like so: B-POS or B-LAPTOP#GENERAL

This would roughly follow the same type of structure as the AllenNLP SpanBasedF1Measure

lacls commented 5 years ago

Thank you a bunch for your public code. I am looking forward to seeing your new improvement.