99d0fb1a8a00c80c97271b2cc58d52c4fcff0032,jieba/__init__.py,Tokenizer,load_userdict,#Tokenizer#Any#,347

Before Change


                        freq = tup[1]
                    else:
                        tag = tup[1]
                elif len(tup) > 2:
                    freq, tag = tup[1], tup[2]
                self.add_word(tup[0], freq, tag)
            except Exception:
                raise ValueError(

After Change


            if freq is not None:
                freq = freq.strip()
            if tag is not None:
                tag = tag.strip()
            self.add_word(word, freq, tag)

    def add_word(self, word, freq=None, tag=None):
        
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: fxsjy/jieba
Commit Name: 99d0fb1a8a00c80c97271b2cc58d52c4fcff0032
Time: 2015-11-09
Author: abcdoyle888@gmail.com
File Name: jieba/__init__.py
Class Name: Tokenizer
Method Name: load_userdict


Project Name: MycroftAI/mycroft-precise
Commit Name: 5ce56ff7e7f0c085bdff9745471c50aa4d0e1faa
Time: 2017-11-03
Author: matthew3311999@gmail.com
File Name: precise/stream.py
Class Name:
Method Name: main


Project Name: dpressel/mead-baseline
Commit Name: 5ca1152bc18e98434c42c04e8963fdcd0458dcdb
Time: 2016-12-07
Author: dpressel@gmail.com
File Name: tag/tf/data.py
Class Name:
Method Name: conllBuildVocab


Project Name: Esri/raster-functions
Commit Name: d46c192052563e31a7edf6c5e24f4e9db9147858
Time: 2015-06-01
Author: rsumbaly@esri.com
File Name: functions/KeyMetadata.py
Class Name: KeyMetadata
Method Name: updateRasterInfo