code: def ts_en(doc_en):
      return textacy.text_stats.TextStats(doc_en)
  
file_path: textacy/tests/text_stats/test_api.py
imports: import collections
  from contextlib import nullcontext
  import pyphen
  import pytest
  import textacy
  import textacy.text_stats
label_desc: Use image node_id 1 for calling a global function with example usage: ts_en(doc_en) and returns: textacy