9f376975884e7a0d7a553dcdfa1ab54b66ddbb1f,speech_editor.py,,,#,324

Before Change


prompt_token_idx = 0
if options.promptsfn:
    with codecs.open(options.promptsfn, "r", "utf8") as promptsf:
        for line in promptsf:
            prompt_tokens.extend(tokenize(line, lang=options.lang))

    logging.info("%s read. %d tokens." % (options.promptsfn, len(prompt_tokens)))

//
// curses

After Change



with codecs.open(options.wrt, "r", "utf8") as wrtf:
    for line in wrtf:
        parts = line.strip().split("")
        if len(parts) != 2:
            continue
        wrt[parts[0]] = parts[1]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: gooofy/zamia-speech
Commit Name: 9f376975884e7a0d7a553dcdfa1ab54b66ddbb1f
Time: 2018-12-10
Author: guenter@zamia.org
File Name: speech_editor.py
Class Name:
Method Name:


Project Name: nilearn/nilearn
Commit Name: 9df22084c5753cd5b3480afddee054dcdd774438
Time: 2017-05-29
Author: dkamalakarreddy@gmail.com
File Name: nilearn/datasets/atlas.py
Class Name:
Method Name: fetch_atlas_harvard_oxford


Project Name: explosion/spaCy
Commit Name: 0bf6441863433575aebcbd0b238d27d95830c015
Time: 2019-05-11
Author: ines@ines.io
File Name: spacy/cli/converters/iob2json.py
Class Name:
Method Name: iob2json