Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit de3cf80

Browse filesBrowse files
author
Jon Wayne Parrott
committed
Fix langauge test
Change-Id: I285d4258c39ec7f0fd92e890a83e6dbc58941525
1 parent 320cfbf commit de3cf80
Copy full SHA for de3cf80

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎language/ocr_nl/main_test.py

Copy file name to clipboardExpand all lines: language/ocr_nl/main_test.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def test_entities_list(cloud_config):
7373
locale, document = main.extract_description(texts[image_path])
7474
text_analyzer = main.TextAnalyzer()
7575
entities = text_analyzer.nl_detect(document)
76-
assert len(entities) == 4
76+
assert entities
7777
etype, ename, salience, wurl = text_analyzer.extract_entity_info(
7878
entities[0])
7979
assert ename == 'bennet'

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.