Thanks to visit codestin.com
Credit goes to github.com

Skip to content

TestSentenceClassifier seems to test texts without sentences #1094

@kwalcock

Description

@kwalcock

At

else{
// If the sentence could not be annotated, automatically mark it as invalid
// It turns out that there are four sentences that eidos failed to annotate.
preds.append(0)
invalidSentCount+=1
}
val label = sentenceClassifierEvaluationData(i)._2
, the test assigns 0 to the prediction and takes whatever label there is to make a calculation even when there is no sentence. I don't think this should happen, Both numbers should be thrown out as if it never happened. In the four cases, there are run-on sentences from tables or captions that we are skipping.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions