e1a71efb8add2577dcf8149328588fcbeb462c41,tests/nlu/featurizers/test_count_vectors_featurizer.py,,test_count_vector_featurizer_response_attribute_featurization,#Any#Any#Any#Any#Any#,63
Before Change
def test_count_vector_featurizer_response_attribute_featurization(
sentence, intent, response, intent_features, response_features
):
ftr = CountVectorsFeaturizer()
tk = WhitespaceTokenizer()
train_message = Message(data={TEXT: sentence})
// this is needed for a valid training example
After Change
def test_count_vector_featurizer_response_attribute_featurization(
sentence, intent, response, intent_features, response_features
):
ftr = CountVectorsFeaturizer(
{"additional_vocabulary_size": {"text": 0, "response": 0}}
)
tk = WhitespaceTokenizer()
train_message = Message(data={TEXT: sentence})
// this is needed for a valid training example
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 6
Instances Project Name: RasaHQ/rasa
Commit Name: e1a71efb8add2577dcf8149328588fcbeb462c41
Time: 2020-12-11
Author: d.varshneya@rasa.com
File Name: tests/nlu/featurizers/test_count_vectors_featurizer.py
Class Name:
Method Name: test_count_vector_featurizer_response_attribute_featurization
Project Name: RasaHQ/rasa
Commit Name: e1a71efb8add2577dcf8149328588fcbeb462c41
Time: 2020-12-11
Author: d.varshneya@rasa.com
File Name: tests/nlu/featurizers/test_count_vectors_featurizer.py
Class Name:
Method Name: test_count_vector_featurizer_attribute_featurization
Project Name: RasaHQ/rasa
Commit Name: e1a71efb8add2577dcf8149328588fcbeb462c41
Time: 2020-12-11
Author: d.varshneya@rasa.com
File Name: tests/nlu/featurizers/test_count_vectors_featurizer.py
Class Name:
Method Name: test_count_vector_featurizer
Project Name: RasaHQ/rasa
Commit Name: e1a71efb8add2577dcf8149328588fcbeb462c41
Time: 2020-12-11
Author: d.varshneya@rasa.com
File Name: tests/nlu/featurizers/test_count_vectors_featurizer.py
Class Name:
Method Name: test_count_vector_featurizer_using_tokens
Project Name: RasaHQ/rasa
Commit Name: e1a71efb8add2577dcf8149328588fcbeb462c41
Time: 2020-12-11
Author: d.varshneya@rasa.com
File Name: tests/nlu/featurizers/test_count_vectors_featurizer.py
Class Name:
Method Name: test_count_vector_featurizer_response_attribute_featurization