docstr: The Cohere API does not support decoding, but we're able to recover the original text from the
  values of the tokens by concatenating them.
  
  Note this logic currently only works with English text.
docstr_tok: ["The","Cohere","API","does","not","support","decoding",",","but","we","'re","able","to","recover","the","original","text","from","the","values","of","the","tokens","by","concatenating","them",".","Note","this","logic","currently","only","works","with","English","text","."]
code: def decode(
      self,
      tokens: List[TokenizationToken],
      normalized_text: Optional[str] = None,
  ) -> str:
      """
      The Cohere API does not support decoding, but we're able to recover the original text from the
      values of the tokens by concatenating them.
  
      Note this logic currently only works with English text.
      """
      token_strings = []
      for token in tokens:
          assert isinstance(token.value, str)
          token_strings.append(token.value)
      return "".join(token_strings)
  
imports: from typing import List, Optional
  from helm.proxy.clients.cohere_client import CohereClient
  from .local_window_service import LocalWindowService
  from .tokenizer_service import TokenizerService
  from .window_service import EncodeResult
  from helm.common.tokenization_request import TokenizationRequest, TokenizationRequestResult, TokenizationToken
label_desc: Use image node_id 9 for calling the CohereWindowService obj's underlying member method code with example usage: obj.decode(tokens, normalized_text) and returns: str