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
Need to check for empty term list in terms_to_semantic_network() network.py#L69
Should not try to build graph on an empty term list
Does not check for empty term list before indexing
Check for empty list and return None?, or don't try to build network if the term list has been pruned to zero length
set terms = [] in argument list
{'platform': 'darwin', 'python': '3.5.2 |Anaconda custom (x86_64)| (default, Jul 2 2016, 17:52:12) \n[GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)]', 'spacy': '1.8.2', 'spacy_models': ['en', 'en_core_web_md'], 'textacy': '0.3.4'}
The text was updated successfully, but these errors were encountered:
9013fd0
Thanks for the heads-up! This has been fixed in master.
Sorry, something went wrong.
No branches or pull requests
Need to check for empty term list in terms_to_semantic_network()
network.py#L69
Expected Behavior
Should not try to build graph on an empty term list
Current Behavior
Does not check for empty term list before indexing
Possible Solution
Check for empty list and return None?, or don't try to build network if the term list has been pruned to zero length
Steps to Reproduce (for bugs)
set terms = [] in argument list
Your Environment
{'platform': 'darwin',
'python': '3.5.2 |Anaconda custom (x86_64)| (default, Jul 2 2016, 17:52:12) \n[GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)]',
'spacy': '1.8.2',
'spacy_models': ['en', 'en_core_web_md'],
'textacy': '0.3.4'}
The text was updated successfully, but these errors were encountered: