9be4432a7b5e340ce050bb92ab7b41fafb31eb16,ludwig/utils/strings_utils.py,,get_sequence_vector,#Any#Any#Any#Any#,111

Before Change




def get_sequence_vector(sequence, format, unit_to_id, lowercase=True):
    format_function = get_from_registry(
        format,
        format_registry
    )
    format_dtype = int_type(len(unit_to_id) - 1)
    return _get_sequence_vector(sequence, format_function, format_dtype,
                                unit_to_id, lowercase=lowercase)

After Change




def get_sequence_vector(sequence, format, unit_to_id, lowercase=True):
    tokenizer = get_from_registry(format, tokenizer_registry)()
    format_dtype = int_type(len(unit_to_id) - 1)
    return _get_sequence_vector(
        sequence,
        tokenizer,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: uber/ludwig
Commit Name: 9be4432a7b5e340ce050bb92ab7b41fafb31eb16
Time: 2019-06-17
Author: 33033675+ydudin3@users.noreply.github.com
File Name: ludwig/utils/strings_utils.py
Class Name:
Method Name: get_sequence_vector


Project Name: uber/ludwig
Commit Name: 695713d0e8306a6179220331905a0771ef2424b3
Time: 2020-12-23
Author: jimthompson5802@gmail.com
File Name: ludwig/decoders/sequence_decoders.py
Class Name: SequenceGeneratorDecoder
Method Name: __init__


Project Name: uber/ludwig
Commit Name: 9be4432a7b5e340ce050bb92ab7b41fafb31eb16
Time: 2019-06-17
Author: 33033675+ydudin3@users.noreply.github.com
File Name: ludwig/utils/strings_utils.py
Class Name:
Method Name: create_vocabulary


Project Name: uber/ludwig
Commit Name: 9be4432a7b5e340ce050bb92ab7b41fafb31eb16
Time: 2019-06-17
Author: 33033675+ydudin3@users.noreply.github.com
File Name: ludwig/utils/strings_utils.py
Class Name:
Method Name: build_sequence_matrix