1a0c8ee08d03397b3e08d6421427afdcbde88945,my/grapheme_cluster.py,,,#,82

Before Change


      if matched:
        STDOUT.write("  Grapheme cluster: %s\n" % text)
      else:
        STDOUT.write("  Unmatched: %s\n" % repr(text))

After Change


    line = line.rstrip("\n")
    STDOUT.write("Line\t%s\n" % line)
    for matched, text in clusterer.GraphemeClusters(line):
      STDOUT.write("%s\t%s\t%s\n" %
                   ("Cluster" if matched else "Unmatched",
                    text,
                    " ".join("%04X" % ord(c) for c in text)))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: google/language-resources
Commit Name: 1a0c8ee08d03397b3e08d6421427afdcbde88945
Time: 2016-06-12
Author: mjansche@google.com
File Name: my/grapheme_cluster.py
Class Name:
Method Name:


Project Name: google/language-resources
Commit Name: edd74909eb1cef75e88e50af6fee48bb6615b7fb
Time: 2016-05-26
Author: mjansche@google.com
File Name: my/tokenize.py
Class Name:
Method Name: main


Project Name: ricsinaruto/Seq2seqChatbots
Commit Name: 3b9042c743facfbd1e641784f21e29a95db2aac2
Time: 2018-09-20
Author: purgai.patrik@gmail.com
File Name: t2t_csaky/scripts/remove.py
Class Name:
Method Name: main