cb86068c8b304e61d2591cf435bff1fa37fd4100,my/text_to_symbols.py,,TextToSymbols,#,31
Before Change
elif 0xA9E0 <= cp <= 0xA9FF:
yield "A9E0-A9FF"
continue
assert 0x1000 <= cp <= 0x109F
if cp in (0x101D, 0x1040):
yield "101D|1040"
elif cp in (0x1044, 0x104E):
yield "1044|104E"
After Change
def TextToSymbols(text, symtab):
return " ".join(symtab[ord(ch)] for ch in text)
def main(argv):
if len(argv) != 2:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: google/language-resources
Commit Name: cb86068c8b304e61d2591cf435bff1fa37fd4100
Time: 2016-06-13
Author: mjansche@google.com
File Name: my/text_to_symbols.py
Class Name:
Method Name: TextToSymbols
Project Name: kundajelab/dragonn
Commit Name: 2a92ed06d5899516521d164d7107d7689f6f5b66
Time: 2016-12-29
Author: jisraeli@stanford.edu
File Name: tests/test_architectures.py
Class Name:
Method Name: run
Project Name: scikit-multiflow/scikit-multiflow
Commit Name: 21d06b0d0cfd47e7b420ad9dac95fc6d634a083e
Time: 2020-05-17
Author: saulomastelini@gmail.com
File Name: tests/meta/test_regressor_chains.py
Class Name:
Method Name: test_regressor_chains