875a33806acea37f602d0ad20fb77cd42432bbb6,scripts/tokenize/tokenize_pad.py,,,#,6

Before Change



from lingpy import *

rcParams["debug"]=True

wl = Wordlist("pad_data_qlc.qlc")
wl.tokenize("pad_orthography_profile")

After Change


print("ID"+"\t"+"ORIGINAL"+"\t"+"RULES")
for line in infile:
    line = line.strip()
    tokens = line.split("\t")
    id = tokens[0]
    counterpart = tokens[2]
    grapheme_clusters =t.grapheme_clusters(counterpart)
    rules = t.rules(grapheme_clusters)
    print(id+"\t"+counterpart+"\t"+rules)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: lingpy/lingpy
Commit Name: 875a33806acea37f602d0ad20fb77cd42432bbb6
Time: 2013-11-08
Author: bambooforest@gmail.com
File Name: scripts/tokenize/tokenize_pad.py
Class Name:
Method Name:


Project Name: ellisdg/3DUnetCNN
Commit Name: e9f288f691ca2d7244bc64c125a48887e47a0f2c
Time: 2017-11-17
Author: david.ellis@unmc.edu
File Name: brats/preprocess.py
Class Name:
Method Name: convert_brats_folder


Project Name: 10XGenomics/cellranger
Commit Name: 8b9ffbfdec1a9b6daf7b47f63fc2656e3e267c25
Time: 2019-02-20
Author: nlhepler@gmail.com
File Name: mro/stages/aggregator/check_molecule_info_version/__init__.py
Class Name:
Method Name: split


Project Name: ricsinaruto/Seq2seqChatbots
Commit Name: a947e8c8abbac9752ecbb50484b353e4bc28ed05
Time: 2019-02-24
Author: ricsinaruto@hotmail.com
File Name: t2t_csaky/scripts/filtering_visualization.py
Class Name:
Method Name: print_clusters