7a3e7e578567516b045b865d169a43c1a23b73c1,lingpy/basic/wordlist.py,Wordlist,add_entries,#Wordlist#Any#Any#Any#,610

Before Change


            self.header[entry.lower()] = self._header[entry.lower()]

            // iterate over the data and create the new entry
            for key in self:
                
                // get the source
                s = self[key][idx]

                // transform s
                t = function(s,**args)

                // add
                self[key].append(t)
        
    
    def get_etymdict(
            self,
            ref = "cogid",
            entry = ""

After Change


                    s = self[key]

                    // transform according to the function
                    t = function(s,idxs)

                    // add the stuff to the dictionary
                    self[key].append(t)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: lingpy/lingpy
Commit Name: 7a3e7e578567516b045b865d169a43c1a23b73c1
Time: 2013-01-22
Author: mattis.list@posteo.de
File Name: lingpy/basic/wordlist.py
Class Name: Wordlist
Method Name: add_entries


Project Name: OpenNMT/OpenNMT-tf
Commit Name: fe92b5e268c4792bb2e3d272c4312b4816d7ec37
Time: 2020-12-10
Author: guillaumekln@users.noreply.github.com
File Name: opennmt/training.py
Class Name: Trainer
Method Name: _steps


Project Name: OpenNMT/OpenNMT-tf
Commit Name: a8a555e58b46938b59cb99df982a01ed9f019195
Time: 2019-11-22
Author: guillaumekln@users.noreply.github.com
File Name: opennmt/runner.py
Class Name: Runner
Method Name: score