2e2e8d2ca323ab447656cdda755ee2e8b018c901,snips_nlu/tests/test_regex_intent_parser.py,TestRegexIntentParser,test_should_get_entities,#TestRegexIntentParser#,188
Before Change
"entity": "dummy_entity_1",
"slotName": "dummy_slotName"
},
{
"range": (37, 44),
"value": "dummy_c",
"entity": "dummy_entity_2",
"slotName": "dummy_slotName2"
}
]
self.assertItemsEqual(expected_entities, entities)
def test_save_and_load(self):
After Change
// Then
expected_entities = [
parsed_entity(match_range=(10, 17), value="dummy_a",
entity="dummy_entity_1", slot_name="dummy_slot_name"),
parsed_entity(match_range=(37, 44), value="dummy_c",
entity="dummy_entity_2", slot_name="dummy_slot_name2")
]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: snipsco/snips-nlu
Commit Name: 2e2e8d2ca323ab447656cdda755ee2e8b018c901
Time: 2017-03-24
Author: adrien.ball@snips.net
File Name: snips_nlu/tests/test_regex_intent_parser.py
Class Name: TestRegexIntentParser
Method Name: test_should_get_entities
Project Name: snipsco/snips-nlu
Commit Name: c1ba10f9e950fadde16a1c621d97a863d9366038
Time: 2017-02-24
Author: clement.doumouro@snips.ai
File Name: custom_intent_parser/entity_extractor/regex_entity_extractor.py
Class Name:
Method Name: match_to_result
Project Name: snipsco/snips-nlu
Commit Name: 2e2e8d2ca323ab447656cdda755ee2e8b018c901
Time: 2017-03-24
Author: adrien.ball@snips.net
File Name: snips_nlu/tests/test_regex_intent_parser.py
Class Name: TestRegexIntentParser
Method Name: test_should_parse