aa80252fba213d3a6e5828a9b59fe9991f7d7a5a,snips_nlu/intent_classifier/snips_intent_classifier.py,SnipsIntentClassifier,from_dict,#Any#Any#,88
Before Change
classifier_args=obj_dict["classifier_args"],
classifier=cPickle.loads(obj_dict["classifier_pkl"]),
intent_list=obj_dict["intent_list"],
language=obj_dict["language"],
featurizer=Featurizer.from_dict(obj_dict["featurizer"])
)
After Change
classifier = cls(classifier_args=obj_dict["classifier_args"])
classifier.classifier = cPickle.loads(obj_dict["classifier_pkl"])
classifier.intent_list = obj_dict["intent_list"],
classifier.language = Language.from_iso_code(obj_dict["language_code"])
classifier.featurizer = Featurizer.from_dict(obj_dict["featurizer"])
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: snipsco/snips-nlu
Commit Name: aa80252fba213d3a6e5828a9b59fe9991f7d7a5a
Time: 2017-04-03
Author: adrien.ball@snips.net
File Name: snips_nlu/intent_classifier/snips_intent_classifier.py
Class Name: SnipsIntentClassifier
Method Name: from_dict
Project Name: snipsco/snips-nlu
Commit Name: f91a6483f7bc44da32c012e17cb57b0ffa8f3f10
Time: 2017-04-03
Author: adrien.ball@snips.net
File Name: snips_nlu/intent_classifier/feature_extraction.py
Class Name: Featurizer
Method Name: from_dict
Project Name: snipsco/snips-nlu
Commit Name: 243643ca5a53676c4f9a47b1fdd5d97ae123ad94
Time: 2017-04-12
Author: clement.doumouro@snips.ai
File Name: snips_nlu/intent_parser/crf_intent_parser.py
Class Name: CRFIntentParser
Method Name: from_dict