Commit f5c9f147 authored by Raul Sirel's avatar Raul Sirel
Browse files

hotfix

parent ac5a254b
Pipeline #6796 passed with stages
in 40 minutes and 3 seconds
......@@ -266,7 +266,7 @@ class Document:
def word_features(self):
if "word_features" in self.analyzers:
if "sentences" in self.analyzers:
for i,sent in enumerate(self.stanza_sentences):
tags_in_sent = [word.feats if word and word.feats and word.feats != "_" else "X" if word.feats == "_" else "X" for word in sent]
for tag in tags_in_sent:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment