code: def acronyms(doclike: types.DocLike) -> Iterable[Token]:
      """
      Extract tokens whose text is "acronym-like" from a document or sentence,
      in order of appearance.
  
      Args:
          doclike
  
      Yields:
          Next acronym-like ``Token``.
      """
      for tok in doclike:
          if is_acronym(tok.text):
              yield tok
  
file_path: textacy/src/textacy/extract/acros.py
imports: from __future__ import annotations
  import collections
  from operator import itemgetter
  from typing import Iterable, Optional
  import numpy
  from spacy.tokens import Span, Token
  from ..None import constants, types
label_desc: Use image node_id 1 for calling a global function with example usage: acronyms(doclike) without return types