53b261a5a1fad07eaacef60e4861adaf0ec538f0,snips_nlu/tests/test_probabilistic_intent_parser.py,TestProbabilisticIntentParser,test_should_be_serializable_before_fitting,#TestProbabilisticIntentParser#,70
Before Change
"intent_classifier": None,
"slot_fillers": dict(),
}
self.assertDictEqual(actual_parser_dict, expected_parser_dict)
def test_should_be_deserializable_before_fitting(self):
// When
config = ProbabilisticIntentParserConfig().to_dict()
After Change
parser = ProbabilisticIntentParser()
// When
parser.persist(self.tmp_file_path)
// Then
expected_parser_dict = {
"unit_name": "probabilistic_intent_parser",
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 3
Instances
Project Name: snipsco/snips-nlu
Commit Name: 53b261a5a1fad07eaacef60e4861adaf0ec538f0
Time: 2018-07-09
Author: adrien.ball@snips.net
File Name: snips_nlu/tests/test_probabilistic_intent_parser.py
Class Name: TestProbabilisticIntentParser
Method Name: test_should_be_serializable_before_fitting
Project Name: snipsco/snips-nlu
Commit Name: 53b261a5a1fad07eaacef60e4861adaf0ec538f0
Time: 2018-07-09
Author: adrien.ball@snips.net
File Name: snips_nlu/tests/test_deterministic_intent_parser.py
Class Name: TestDeterministicIntentParser
Method Name: test_should_be_serializable_before_fitting
Project Name: snipsco/snips-nlu
Commit Name: 53b261a5a1fad07eaacef60e4861adaf0ec538f0
Time: 2018-07-09
Author: adrien.ball@snips.net
File Name: snips_nlu/tests/test_deterministic_intent_parser.py
Class Name: TestDeterministicIntentParser
Method Name: test_should_be_serializable
Project Name: snipsco/snips-nlu
Commit Name: 53b261a5a1fad07eaacef60e4861adaf0ec538f0
Time: 2018-07-09
Author: adrien.ball@snips.net
File Name: snips_nlu/tests/test_log_reg_intent_classifier.py
Class Name: TestLogRegIntentClassifier
Method Name: test_should_be_serializable
Project Name: snipsco/snips-nlu
Commit Name: 53b261a5a1fad07eaacef60e4861adaf0ec538f0
Time: 2018-07-09
Author: adrien.ball@snips.net
File Name: snips_nlu/tests/test_probabilistic_intent_parser.py
Class Name: TestProbabilisticIntentParser
Method Name: test_should_be_serializable