9cecc52e1fbf8b281d88244f6c43d2b76e374993,snips_nlu/nlu_engine/nlu_engine.py,SnipsNLUEngine,parse,#SnipsNLUEngine#Any#Any#,34

Before Change


                                 "`parse`")
        language = Language.from_iso_code(
            self.dataset_metadata["language_code"])
        return parse(text, self.dataset_metadata["entities"], language,
                     self.intent_parsers, intent)

    def fit(self, dataset, intents=None):
        
        Fit the NLU engine.

After Change


            likely intent and slots
        
        if not self.fitted:
            raise NotTrained("SnipsNLUEngine must be fitted")

        if isinstance(intents, str):
            intents = [intents]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: snipsco/snips-nlu
Commit Name: 9cecc52e1fbf8b281d88244f6c43d2b76e374993
Time: 2018-02-07
Author: adrien.ball@snips.net
File Name: snips_nlu/nlu_engine/nlu_engine.py
Class Name: SnipsNLUEngine
Method Name: parse


Project Name: snipsco/snips-nlu
Commit Name: df8587fe220d50ef398817a647f95461998fb378
Time: 2017-03-24
Author: adrien.ball@snips.net
File Name: snips_nlu/intent_parser/intent_parser.py
Class Name: IntentParser
Method Name: get_intent


Project Name: chainer/chainer
Commit Name: 75231a39c212fc8066f99633698b7e59b2ce4efb
Time: 2019-10-13
Author: duaipp@gmail.com
File Name: onnx_chainer/onnx_helper.py
Class Name:
Method Name: is_support_non_standard_domain


Project Name: snipsco/snips-nlu
Commit Name: df8587fe220d50ef398817a647f95461998fb378
Time: 2017-03-24
Author: adrien.ball@snips.net
File Name: snips_nlu/intent_parser/intent_parser.py
Class Name: IntentParser
Method Name: get_entities