apmoore1 / target-extraction

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

Target Text sanity checking #1

Open apmoore1 opened 5 years ago

apmoore1 commented 5 years ago

So far if their exists targets then their must exist spans, however currently there is no check on if sentiments exist then so should the targets. This is slightly done implicitly by the fact that if any of the lists exist then they must be of all of the same size, which means that if the sentiments and target/categories exist then there will always be a one to one mapping. This still needs checking.