class_docstr: Load sentences from a flat text file.
class_docstr_tok: ["Load","sentences","from","a","flat","text","file","."]
docstr: Should match MLM's input_spec().
docstr_tok: ["Should","match","MLM","'s","input_spec","(",")","."]
code: def spec(self) -> lit_types.Spec:
      """Should match MLM's input_spec()."""
      return {"text": lit_types.TextSegment()}
  
file_path: lit/lit_nlp/examples/datasets/lm.py
imports: import glob
  from typing import Optional
  from lit_nlp.api import dataset
  from lit_nlp.api import types
  import tensorflow_datasets
label_desc: Use image node_id 5 for calling the PlaintextSents obj's underlying member method code with example usage: obj.spec() and returns: dict