Skip to content

Commit

Permalink
Major Bug fixes: Detected in SonarQube: data_fetcher.py
Browse files Browse the repository at this point in the history
  • Loading branch information
pranjalsrajput authored Mar 19, 2019
1 parent a23d5be commit 2b3f8a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flair/data_fetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def load_column_corpus(
if tag_to_biloes is not None:
# convert tag scheme to iobes
for sentence in sentences_train + sentences_test + sentences_dev:
sentence: Sentence = sentence
#sentence: Sentence = sentence
sentence.convert_tag_scheme(tag_type=tag_to_biloes, target_scheme='iobes')

return TaggedCorpus(sentences_train, sentences_dev, sentences_test, name=data_folder.name)
Expand Down

0 comments on commit 2b3f8a9

Please sign in to comment.