1e25b7fb1b442138e09a91e84bac79feffd2175a,cnet5_index_builder/cnet5-data/wiktionary_ja/ja_read_wiktionary.py,FindTranslations,handleLine,#FindTranslations#Any#Any#,170

Before Change


        if trans_top_match: // start translation part
            pos = self.pos or "n"
            // get translation sense
            sense = trans_top_match.group(1).split("")[0].strip(".")
            self.curSense = pos+"/"+sense
            return
        if trans_bottom_match: // end translation part

After Change


        if trans_top_match: // start translation part
            pos = self.pos or "n"
            // get translation sense
            if trans_top_match.group(1):
                sense = trans_top_match.group(1).lstrip("|")
                self.curSense = pos+"/"+sense
                return
            else:
                self.curSense = pos
                return
        if trans_bottom_match: // end translation part
            self.curSense = None
            return
        if self.curSense and line[0:5] == "*[[{{": // get translation
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: commonsense/conceptnet5
Commit Name: 1e25b7fb1b442138e09a91e84bac79feffd2175a
Time: 2013-05-28
Author: rob@luminoso.com
File Name: cnet5_index_builder/cnet5-data/wiktionary_ja/ja_read_wiktionary.py
Class Name: FindTranslations
Method Name: handleLine


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 32dd1ac4e1d44382f481d0e4e22a81cbb5a66510
Time: 2015-08-13
Author: nlavine@google.com
File Name: perfkitbenchmarker/benchmarks/fio_benchmark.py
Class Name:
Method Name: GetIODepths


Project Name: eth-cscs/reframe
Commit Name: 2e180b4eda979e3455df916c89cb0295370fc7d7
Time: 2018-06-07
Author: rafael.sarmiento@cscs.ch
File Name: reframe/utility/versioning.py
Class Name: _RelationalValidator
Method Name: __init__


Project Name: MolSSI/QCEngine
Commit Name: 0003e408505b4634961af84c1bd0f1503fe92f95
Time: 2020-07-30
Author: lori.burns@gmail.com
File Name: qcengine/programs/qchem.py
Class Name: QChemHarness
Method Name: get_version