docs: def get_ngrams(path):
      """Returns a list of n-grams read from the file at `path`."""
      with open(path, encoding='utf-8') as fh:
          ngrams = [ngram.strip() for ngram in fh.readlines()]
      return ngrams