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
. (py2.7) ➜ TextGrapher git:(master) ✗ python text_grapher.py Traceback (most recent call last): File "text_grapher.py", line 407, in handler.main(content9) File "text_grapher.py", line 169, in main words, postags = self.process_sent(sent) File "text_grapher.py", line 47, in process_sent words, postags = self.parser.basic_process(sent) File "/Users/wanghaisheng/workspace/TextGrapher/sentence_parser.py", line 161, in basic_process name_entity_dist = self.format_entity(words, netags, postags) File "/Users/wanghaisheng/workspace/TextGrapher/sentence_parser.py", line 83, in format_entity name_entity_dist['nhs'] = self.modify_entity(name_entity_list, words, postags, 'nh') File "/Users/wanghaisheng/workspace/TextGrapher/sentence_parser.py", line 100, in modify_entity consist = [words[int(start_index)] + '/' + postags[int(start_index)]] ValueError: invalid literal for int() with base 10: '' (py2.7) ➜ TextGrapher git:(master) ✗
The text was updated successfully, but these errors were encountered:
himss2019all.txt
Sorry, something went wrong.
No branches or pull requests
.
(py2.7) ➜ TextGrapher git:(master) ✗ python text_grapher.py
Traceback (most recent call last):
File "text_grapher.py", line 407, in
handler.main(content9)
File "text_grapher.py", line 169, in main
words, postags = self.process_sent(sent)
File "text_grapher.py", line 47, in process_sent
words, postags = self.parser.basic_process(sent)
File "/Users/wanghaisheng/workspace/TextGrapher/sentence_parser.py", line 161, in basic_process
name_entity_dist = self.format_entity(words, netags, postags)
File "/Users/wanghaisheng/workspace/TextGrapher/sentence_parser.py", line 83, in format_entity
name_entity_dist['nhs'] = self.modify_entity(name_entity_list, words, postags, 'nh')
File "/Users/wanghaisheng/workspace/TextGrapher/sentence_parser.py", line 100, in modify_entity
consist = [words[int(start_index)] + '/' + postags[int(start_index)]]
ValueError: invalid literal for int() with base 10: ''
(py2.7) ➜ TextGrapher git:(master) ✗
The text was updated successfully, but these errors were encountered: