original_docstring: Produce hint labels based on the html tags.
  
          Produce hint words based on the link text and random words
          from the words arg as fallback.
  
          Args:
              words: Words to use as fallback when no link text can be used.
              elems: The elements to get hint strings for.
  
          Return:
              A list of hint strings, in the same order as the elements.
          
docstring: Produce hint labels based on the html tags.
  Produce hint words based on the link text and random words
  from the words arg as fallback.
docstring_tokens: Produce hint labels based on the html tags . Produce hint words based on the link text and random words from the words arg as fallback .
code: def hint(self, elems: _ElemsType) -> _HintStringsType:
          """Produce hint labels based on the html tags.
  
          Produce hint words based on the link text and random words
          from the words arg as fallback.
  
          Args:
              words: Words to use as fallback when no link text can be used.
              elems: The elements to get hint strings for.
  
          Return:
              A list of hint strings, in the same order as the elements.
          """
          self.ensure_initialized()
          hints = []
          used_hints: Set[str] = set()
          words = iter(self.words)
          for elem in elems:
              hint = self.new_hint_for(elem, used_hints, words)
              if not hint:
                  raise HintingError("Not enough words in the dictionary.")
              used_hints.add(hint)
              hints.append(hint)
          return hints
code_tokens: def hint ( self , elems : _ElemsType ) -> _HintStringsType : self . ensure_initialized ( ) hints = [ ] used_hints : Set [ str ] = set ( ) words = iter ( self . words ) for elem in elems : hint = self . new_hint_for ( elem , used_hints , words ) if not hint : raise HintingError ( "Not enough words in the dictionary." ) used_hints . add ( hint ) hints . append ( hint ) return hints
short_docstring: Produce hint labels based on the html tags.
short_docstring_tokens: Produce hint labels based on the html tags .
comment: """Produce hint labels based on the html tags.
  
          Produce hint words based on the link text and random words
          from the words arg as fallback.
  
          Args:
              words: Words to use as fallback when no link text can be used.
              elems: The elements to get hint strings for.
  
          Return:
              A list of hint strings, in the same order as the elements.
          """