Skip to content

Commit

Permalink
reverted file
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaly-Protasov committed Dec 20, 2023
1 parent 3b25fd2 commit 67db46d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions probing/ud_filter/sentence_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,9 @@ def filter_sentence(
self.possible_token_pairs = {pair: set() for pair in self.constraints}
if not self.find_all_nodes():
return False

self.sent_deprels = self.all_deprels()
if self.match_constraints():
return tuple(self.nodes_tokens.values())

return False
else:
self.sent_deprels = self.all_deprels()
if self.match_constraints():
return tuple(self.nodes_tokens.values())
else:
return False

0 comments on commit 67db46d

Please sign in to comment.