ce01a7984d45412c8dd6d4f202fa20d55a6cd026,custom_intent_parser/intent_parser/intent_parser.py,SnipsIntentParser,built_in_intents,#SnipsIntentParser#Any#,89

Before Change


    @built_in_intents.setter
    def built_in_intents(self, value):
        for intent_name in value:
            if not is_existing_built_in(intent_name):
                raise AttributeError("Unknown built in intent: %s"
                                     % intent_name)
        self._built_in_intents = value
        self.fitted = False

After Change


    @built_in_intents.setter
    def built_in_intents(self, value):
        for intent in value:
            if not isinstance(intent, BuiltInIntent):
                raise ValueError("Expected a BuiltInIntent, found: %s"
                                 % type(intent))
        self._built_in_intents = value
        self.fitted = False
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: snipsco/snips-nlu
Commit Name: ce01a7984d45412c8dd6d4f202fa20d55a6cd026
Time: 2017-02-24
Author: clement.doumouro@snips.ai
File Name: custom_intent_parser/intent_parser/intent_parser.py
Class Name: SnipsIntentParser
Method Name: built_in_intents


Project Name: befelix/safe_learning
Commit Name: af1b9ff3297dc56f86f97fcec7e994acc68d2f25
Time: 2016-12-26
Author: fberkenkamp@gmail.com
File Name: safe_learning/lyapunov.py
Class Name: LyapunovContinuous
Method Name: __init__


Project Name: neurosynth/neurosynth
Commit Name: 4867e69181cc65a39b317819825606e0ef9350b5
Time: 2015-01-08
Author: tyarkoni@gmail.com
File Name: neurosynth/analysis/cluster.py
Class Name: Clusterer
Method Name: _create_cluster_images


Project Name: deepmipt/DeepPavlov
Commit Name: 286a864220a00732d382a75051e11877acf13c3f
Time: 2018-01-24
Author: ol.gure@gmail.com
File Name: deeppavlov/models/tokenizers/nltk_tokenizer.py
Class Name: NLTKTokenizer
Method Name: __init__