We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
recognizer = absa.aux_models.BasicPatternRecognizer() nlp = absa.load(pattern_recognizer=recognizer) completed_task = nlp(text=..., aspects=['slack', 'price']) slack, price = completed_task.examples
TypeError Traceback (most recent call last) in () 1 recognizer = absa.aux_models.BasicPatternRecognizer() 2 nlp = absa.load(pattern_recognizer=recognizer) ----> 3 completed_task = nlp(text=..., aspects=['slack', 'price']) 4 slack, price = completed_task.examples
6 frames /usr/local/lib/python3.7/dist-packages/transformers/models/bert/tokenization_bert.py in _clean_text(self, text) 488 """Performs invalid character removal and whitespace cleanup on text.""" 489 output = [] --> 490 for char in text: 491 cp = ord(char) 492 if cp == 0 or cp == 0xFFFD or _is_control(char):
TypeError: 'ellipsis' object is not iterable
The text was updated successfully, but these errors were encountered:
No branches or pull requests
recognizer = absa.aux_models.BasicPatternRecognizer()
nlp = absa.load(pattern_recognizer=recognizer)
completed_task = nlp(text=..., aspects=['slack', 'price'])
slack, price = completed_task.examples
TypeError Traceback (most recent call last)
in ()
1 recognizer = absa.aux_models.BasicPatternRecognizer()
2 nlp = absa.load(pattern_recognizer=recognizer)
----> 3 completed_task = nlp(text=..., aspects=['slack', 'price'])
4 slack, price = completed_task.examples
6 frames
/usr/local/lib/python3.7/dist-packages/transformers/models/bert/tokenization_bert.py in _clean_text(self, text)
488 """Performs invalid character removal and whitespace cleanup on text."""
489 output = []
--> 490 for char in text:
491 cp = ord(char)
492 if cp == 0 or cp == 0xFFFD or _is_control(char):
TypeError: 'ellipsis' object is not iterable
The text was updated successfully, but these errors were encountered: