class_docstr: WordExactUnit Class.
  
  Process unit to get a binary match list of two word index lists. The
  word index list is the word representation of a text.
  
  Examples:
      >>> input_ = pandas.DataFrame({
      ...  'text_left':[[1, 2, 3],[4, 5, 7, 9]],
      ...  'text_right':[[5, 3, 2, 7],[2, 3, 5]]}
      ... )
      >>> left_word_exact_match = WordExactMatch(
      ...     fixed_length_text=5,
      ...     match='text_left', to_match='text_right'
      ... )
      >>> left_out = input_.apply(left_word_exact_match.transform, axis=1)
      >>> left_out[0]
      [0.0, 1.0, 1.0, 0.0, 0.0]
      >>> left_out[1]
      [0.0, 1.0, 0.0, 0.0, 0.0]
      >>> right_word_exact_match = WordExactMatch(
      ...     fixed_length_text=5,
      ...     match='text_right', to_match='text_left'
      ... )
      >>> right_out = input_.apply(right_word_exact_match.transform, axis=1)
      >>> right_out[0]
      [0.0, 1.0, 1.0, 0.0, 0.0]
      >>> right_out[1]
      [0.0, 0.0, 1.0, 0.0, 0.0]
docstr: Class initialization.
  
  :param fixed_length_text: fixed length of the text.
  :param match: the 'match' column name.
  :param to_match: the 'to_match' column name.
docstr_tok: ["Class","initialization",".",":","param","fixed_length_text",":","fixed","length","of","the","text",".",":","param","match",":","the","'match","'","column","name",".",":","param","to_match",":","the","'to_match","'","column","name","."]
code: def __init__(self, fixed_length_text: int, match: str, to_match: str):
      """
      Class initialization.
  
      :param fixed_length_text: fixed length of the text.
      :param match: the 'match' column name.
      :param to_match: the 'to_match' column name.
      """
      self._fixed_length_text = fixed_length_text
      self._match = match
      self._to_match = to_match
  
imports: import numpy
  import pandas
  from .unit import Unit
label_desc: Use image node_id 1 to create a new WordExactMatch object from inherited base classes: Unit with example: obj = WordExactMatch(fixed_length_text, match, to_match)