cbbd5eaf6d972f45ccbe8502bf179aca3ba1c7b0,snips_nlu/tests/test_intent_classifier_data_augmentation.py,TestDataAugmentation,test_should_build_training_data_with_builtin_data,#TestDataAugmentation#,111

Before Change


        // Then
        max_utterances = max(len(intent[UTTERANCES]) for intent in
                             custom_dataset[INTENTS].values())
        expected_utterances = [utterance[UTTERANCE_TEXT] for intent in
                               custom_dataset[INTENTS].values() for utterance
                               in intent[UTTERANCES]]
        expected_utterances += [utterance[UTTERANCE_TEXT] for intent in

After Change


        // Then
        max_utterances = max(len(intent[UTTERANCES]) for intent in
                             custom_dataset[INTENTS].values())
        expected_utterances = [get_text_from_chunks(utterance[DATA])
                               for intent in custom_dataset[INTENTS].values()
                               for utterance in intent[UTTERANCES]]
        expected_utterances += [get_text_from_chunks(utterance[DATA])
                                for intent in builtin_dataset[INTENTS].values()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 8

Instances


Project Name: snipsco/snips-nlu
Commit Name: cbbd5eaf6d972f45ccbe8502bf179aca3ba1c7b0
Time: 2017-04-12
Author: adrien.ball@snips.net
File Name: snips_nlu/tests/test_intent_classifier_data_augmentation.py
Class Name: TestDataAugmentation
Method Name: test_should_build_training_data_with_builtin_data


Project Name: snipsco/snips-nlu
Commit Name: cbbd5eaf6d972f45ccbe8502bf179aca3ba1c7b0
Time: 2017-04-12
Author: adrien.ball@snips.net
File Name: snips_nlu/tests/test_intent_classifier_data_augmentation.py
Class Name: TestDataAugmentation
Method Name: test_should_build_training_data_with_builtin_data


Project Name: snipsco/snips-nlu
Commit Name: cbbd5eaf6d972f45ccbe8502bf179aca3ba1c7b0
Time: 2017-04-12
Author: adrien.ball@snips.net
File Name: snips_nlu/tests/test_intent_classifier_data_augmentation.py
Class Name: TestDataAugmentation
Method Name: test_should_build_training_data_with_no_stemming_no_noise


Project Name: snipsco/snips-nlu
Commit Name: cbbd5eaf6d972f45ccbe8502bf179aca3ba1c7b0
Time: 2017-04-12
Author: adrien.ball@snips.net
File Name: snips_nlu/tests/test_intent_classifier_data_augmentation.py
Class Name: TestDataAugmentation
Method Name: test_should_build_training_data_with_noise


Project Name: snipsco/snips-nlu
Commit Name: cbbd5eaf6d972f45ccbe8502bf179aca3ba1c7b0
Time: 2017-04-12
Author: adrien.ball@snips.net
File Name: snips_nlu/tests/test_intent_classifier_data_augmentation.py
Class Name: TestDataAugmentation
Method Name: test_should_build_training_data_with_stemming