Skip to content

Commit

Permalink
updated flair variable names (informagi#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
eriktks authored Aug 11, 2022
1 parent 37671e6 commit e762cd2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions REL/mention_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ def find_mentions(self, dataset, tagger=None):
):
text, start_pos, end_pos, conf, tag = (
entity.text,
entity.start_pos,
entity.end_pos,
entity.start_position,
entity.end_position,
entity.score,
entity.tag,
)
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
colorama
konoha
flair
flair>=0.11
segtok
Pillow>=7.1.0
torch
nltk
anyascii
anyascii

0 comments on commit e762cd2

Please sign in to comment.