e0830d7736bb620f926545078bea5620a8b4a19c,src/gensim/models/tfidfmodel.py,TfidfModel,__getitem__,#TfidfModel#Any#,79

Before Change


        Return tf-idf representation of the input vector and/or corpus.
        
        // if the input vector is in fact a corpus, return a transformed corpus as a result
        if utils.isCorpus(bow):
            return self._apply(bow)
        
        // unknown (new) terms will be given zero weight (NOT infinity/huge weight,

After Change


        Return tf-idf representation of the input vector and/or corpus.
        
        // if the input vector is in fact a corpus, return a transformed corpus as a result
        is_corpus, bow = utils.isCorpus(bow)
        if is_corpus:
            return self._apply(bow)
        
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

Instances


Project Name: RaRe-Technologies/gensim
Commit Name: e0830d7736bb620f926545078bea5620a8b4a19c
Time: 2010-09-06
Author: piskvorky@92d0401f-a546-4972-9173-107b360ed7e5
File Name: src/gensim/models/tfidfmodel.py
Class Name: TfidfModel
Method Name: __getitem__


Project Name: RaRe-Technologies/gensim
Commit Name: e0830d7736bb620f926545078bea5620a8b4a19c
Time: 2010-09-06
Author: piskvorky@92d0401f-a546-4972-9173-107b360ed7e5
File Name: src/gensim/models/rpmodel.py
Class Name: RpModel
Method Name: __getitem__


Project Name: RaRe-Technologies/gensim
Commit Name: f96837d570ed738baa0f47924cfa09f40787cdbe
Time: 2010-09-06
Author: radimrehurek@seznam.cz
File Name: src/gensim/models/tfidfmodel.py
Class Name: TfidfModel
Method Name: __getitem__


Project Name: RaRe-Technologies/gensim
Commit Name: f96837d570ed738baa0f47924cfa09f40787cdbe
Time: 2010-09-06
Author: radimrehurek@seznam.cz
File Name: src/gensim/models/rpmodel.py
Class Name: RpModel
Method Name: __getitem__