49d41416e440926f0a9a8243b4d77f6f5468efe9,app/server/utils.py,CoNLLHandler,parse,#CoNLLHandler#Any#,100
Before Change
else:
yield words, tags
words, tags = [], []
if len(words) > 0:
yield words, tags
def render(self):
After Change
data = []
try:
j = json.loads(line)
j["meta"] = json.dumps(j.get("meta", {}))
data.append(j)
except json.decoder.JSONDecodeError:
raise FileParseException(line_num=i, line=line)
if data:
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: chakki-works/doccano
Commit Name: 49d41416e440926f0a9a8243b4d77f6f5468efe9
Time: 2019-03-12
Author: light.tree.1.13@gmail.com
File Name: app/server/utils.py
Class Name: CoNLLHandler
Method Name: parse
Project Name: cmu-db/ottertune
Commit Name: 162dc48c53590b4d0ca7725fa01aeb4af1089bd0
Time: 2019-10-08
Author: dvanaken@cs.cmu.edu
File Name: server/website/website/views.py
Class Name:
Method Name: give_result
Project Name: chakki-works/doccano
Commit Name: eb09eb97d28c918756c12a8960d5daa85d098abc
Time: 2019-03-06
Author: light.tree.1.13@gmail.com
File Name: app/server/api.py
Class Name: CSVHandler
Method Name: parse
Project Name: pyinstaller/pyinstaller
Commit Name: 7933cbbe1fabb2150c74be95be49a3049b304aa4
Time: 2016-03-02
Author: codewarrior@hawaii.rr.com
File Name: PyInstaller/archive/writers.py
Class Name: CArchiveWriter
Method Name: add