251a43f5bfa33fcbdf47d229cd969eb919e0f8ca,underthesea/corpus/readers/dictionary_loader.py,DictionaryLoader,words,#DictionaryLoader#,20
Before Change
@property
def words(self):
if not self.words_data:
with io.open(self.data_file, "r", encoding="utf-8") as f:
words = f.read().splitlines()
unicode_transformer = UnicodeTransformer()
words = [unicode_transformer.transform(word) for word in words]
self.words_data = words
return self.words_data
After Change
@property
def words(self):
if not self.words_data:
content = read (self.data_file).strip()
words = content.split("\n")
self.words_data = words
return self.words_data
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances Project Name: undertheseanlp/underthesea
Commit Name: 251a43f5bfa33fcbdf47d229cd969eb919e0f8ca
Time: 2017-07-07
Author: brother.rain.1024@gmail.com
File Name: underthesea/corpus/readers/dictionary_loader.py
Class Name: DictionaryLoader
Method Name: words
Project Name: biotite-dev/biotite
Commit Name: eca4aa69416a6088b967cec35fd0d00a9bc8af89
Time: 2020-04-22
Author: patrick.kunzm@gmail.com
File Name: src/biotite/application/dssp/app.py
Class Name: DsspApp
Method Name: evaluate
Project Name: undertheseanlp/underthesea
Commit Name: 244940504e919a9f5c4e191f3d121ecebec00950
Time: 2017-07-04
Author: brother.rain.1024@gmail.com
File Name: tests/word_sent/test_word_sent.py
Class Name:
Method Name: load_input