We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f51a0f commit 271184dCopy full SHA for 271184d
samples/snippets/ocr_nl/main_test.py
@@ -73,7 +73,7 @@ def test_entities_list(cloud_config):
73
locale, document = main.extract_description(texts[image_path])
74
text_analyzer = main.TextAnalyzer()
75
entities = text_analyzer.nl_detect(document)
76
- assert len(entities) == 4
+ assert entities
77
etype, ename, salience, wurl = text_analyzer.extract_entity_info(
78
entities[0])
79
assert ename == 'bennet'
0 commit comments