f6d5f51eb0f2145ba05fc981247ba1c4f3b8bbd1,my/grapheme_cluster.py,,,#,63
Before Change
if __name__ == "__main__":
for line in GetlineUnbuffered():
line = line.rstrip("\n")
STDOUT.write("Line: %s\n" % line)
for matched, text in GraphemeClusters(line):
if matched:
STDOUT.write(" Grapheme cluster: %s\n" % text)
else:
STDOUT.write(" Unmatched: %s\n" % repr(text))
After Change
if __name__ == "__main__":
if len(sys.argv) != 2 or sys.argv[1].lower() not in ("unicode", "zawgyi"):
STDOUT.write("Usage: %s (unicode|zawgyi)\n" % sys.argv[0])
sys.exit(2)
clusterer = GraphemeClusterer(sys.argv[1].lower())
for line in GetlineUnbuffered():
line = line.rstrip("\n")
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: google/language-resources
Commit Name: f6d5f51eb0f2145ba05fc981247ba1c4f3b8bbd1
Time: 2016-06-08
Author: mjansche@google.com
File Name: my/grapheme_cluster.py
Class Name:
Method Name:
Project Name: 13o-bbr-bbq/machine_learning_security
Commit Name: fbf1298b6d7b5dd0eab212947831fb29792baa68
Time: 2018-07-11
Author: takaesu235@gmail.com
File Name: DeepExploit/CreateReport.py
Class Name: CreateReport
Method Name: create_report
Project Name: xinntao/BasicSR
Commit Name: 29ab5e1965503be3ffe87462e973edf1d457af6e
Time: 2018-09-06
Author: wxt1994@126.com
File Name: codes/scripts/extract_subimgs_single.py
Class Name:
Method Name: main
Project Name: gooofy/zamia-speech
Commit Name: 79aebeb14bf19333e61ee305b99f91dd191942d7
Time: 2018-12-10
Author: guenter@zamia.org
File Name: speech_editor.py
Class Name:
Method Name: