Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GGNoWayBack committed Feb 23, 2024
1 parent e828cb3 commit a1a662b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_nlp_cner.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ def test_prompt_tag(self):
self.assertEqual(self.ner.prompt_tag('NCF'), 'is_likely_abbreviation')
self.assertEqual(self.ner.prompt_tag('EC300J'), 'other')
self.assertEqual(self.ner.prompt_tag('PC'), 'other')
self.assertEqual(self.ner.prompt_tag('C4H4O6KNa·4H2O'), 'synthetic')
self.assertEqual(self.ner.prompt_tag('PO4'), 'polyatomic_ions')
self.assertEqual(self.ner.prompt_tag('Na-ion'), 'other')
self.assertEqual(self.ner.prompt_tag('Na-N532'), 'is_likely_abbreviation')
Expand Down

0 comments on commit a1a662b

Please sign in to comment.