Skip to content

Conversation

@jrwishart
Copy link

NER annotator parser had a bug when input text vector had personal pronouns but no entities when validated against the token output (when entity.mentions.only = FALSE, the default setting). Fixed the NERAnnotate function to handle such a case and added unit test.

Housekeeping fixes

  • Improved code style in NERAnnotate
  • Completed example of NERAnnotate.

NER annotator parser had a bug when input text vector had no entities but had personal pronouns. Fixed the NERAnnotate function to handle such a case and added unit test.

Housekeeping fixes

* Improved code style in NERAnnotate
* Completed example of NERAnnotate.
@jrwishart
Copy link
Author

jrwishart commented Oct 30, 2019

Downstream build on flipTextAnalysis passed here https://travis-ci.com/Displayr/flipTextAnalysis/jobs/250896552. It says it failed but it passed all tests, it only failed due to a timeout (it strangely spent over an hour installing R and dependencies in this case).

@jrwishart jrwishart marked this pull request as ready for review October 30, 2019 05:33
@jrwishart jrwishart requested a review from JustinCCYap October 30, 2019 05:59
@jrwishart jrwishart merged commit 1439f50 into master Oct 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants