3c0a9cde3912b39b4b277327669b505a64a43d03,soynlp/hangle/_hangle.py,ConvolutionHangleEncoder,onehot_to_sent,#ConvolutionHangleEncoder#Any#,159

Before Change


            elif len(c) == 3:
                cho, jung, jong = c
                if (0 <= cho < self.jung_begin) and (self.jung_begin <= jung < self.jong_begin) and (self.jong_begin <= jong < self.number_begin):
                    chars.append(compose(chosung_list[cho], jungsung_list[jung - self.jung_begin], jongsung_list[jong - self.jong_begin]))
                else:
                    chars.append(None)
            else:

After Change


                chars.append(self.idx_to_char[c[0]])
            elif len(c) == 3:
                check_cjj(c)
                cho, jung, jong = tuple(self.idx_to_char[ci] for ci in c)
                chars.append(compose(cho, jung, jong))
            else:
                chars.append(unk)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: lovit/soynlp
Commit Name: 3c0a9cde3912b39b4b277327669b505a64a43d03
Time: 2019-03-07
Author: soy.lovit@gmail.com
File Name: soynlp/hangle/_hangle.py
Class Name: ConvolutionHangleEncoder
Method Name: onehot_to_sent


Project Name: geomstats/geomstats
Commit Name: aba65f959fb114e67103a061e92ab5596c557d3d
Time: 2018-12-27
Author: ninamio78@gmail.com
File Name: geomstats/lie_group.py
Class Name: LieGroup
Method Name: group_exp


Project Name: lovit/soynlp
Commit Name: ae61a0ec6290ef06d0a00f02bb0c0f46a98affe5
Time: 2018-11-06
Author: soy.lovit@gmail.com
File Name: soynlp/lemmatizer/_conjugation.py
Class Name:
Method Name: _conjugate_stem


Project Name: geomstats/geomstats
Commit Name: 5210177ed979a9b08000d0a37a21abe3ff823fec
Time: 2018-01-28
Author: ninamio78@gmail.com
File Name: tests/test_special_euclidean_group.py
Class Name: TestSpecialEuclideanGroupMethods
Method Name: test_compose_and_inverse