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
Moreover, I suggest this func should be changed like this, because I meet the encoding problem:
def read_and_parse_txt_from_disk(path_to_file,data_items): try: with open(path_to_file,'r',encoding='utf-8') as f: txt = f.read() except: with open(path_to_file,'r',encoding='latin1') as f: txt = f.read() txt = txt.split('\n') raw_patent_data= get_patents_list(txt) parsed_data = [] for patent in raw_patent_data: parsed_data.append(parse_txt_patent_data(patent,data_items_list = data_items)) return parsed_data
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Moreover, I suggest this func should be changed like this, because I meet the encoding problem:
The text was updated successfully, but these errors were encountered: