.. _f-opstringnormalizer: module ``onnxrt.ops_cpu.op_string_normalizer`` ============================================== .. inheritance-diagram:: mlprodict.onnxrt.ops_cpu.op_string_normalizer Short summary +++++++++++++ module ``mlprodict.onnxrt.ops_cpu.op_string_normalizer`` Runtime operator. :githublink:`%|py|7` Classes +++++++ +--------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ | class | truncated documentation | +============================================================================================+======================================================================================================================+ | :class:`StringNormalizer ` | The operator is not really threadsafe as python cannot play with two locales at the same time. stop words should ... | +--------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+ Properties ++++++++++ +----------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | property | truncated documentation | +======================================================================================================================+=======================================================================================================================+ | :meth:`args_default ` | Returns the list of arguments as well as the list of parameters with the default values (close to the signature). ... | +----------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :meth:`args_default_modified ` | Returns the list of modified parameters. | +----------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :meth:`args_mandatory ` | Returns the list of optional arguments. | +----------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :meth:`args_optional ` | Returns the list of optional arguments. | +----------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ | :meth:`atts_value ` | Returns all parameters in a dictionary. | +----------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+ Methods +++++++ +----------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | method | truncated documentation | +======================================================================================================================+==============================================================================================================================================================================================================================+ | :py:meth:`__init__ ` | | +----------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_remove_stopwords ` | | +----------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_run ` | Normalizes strings. | +----------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_run_column ` | Normalizes string in a columns. | +----------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :meth:`strip_accents_unicode ` | Transforms accentuated unicode symbols into their simple counterpart. Source: `sklearn/feature_extraction/text.py `_. ... | +----------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ Documentation +++++++++++++ .. automodule:: mlprodict.onnxrt.ops_cpu.op_string_normalizer :members: :special-members: __init__ :show-inheritance: