docstr: Prepare sequences.
  
  qval=None: split text by words
  qval=1: do not split sequences. For text this is mean comparing by letters.
  qval>1: split sequences by q-grams
docstr_tok: ["Prepare","sequences",".","qval=None",":","split","text","by","words","qval=1",":","do","not","split","sequences",".","For","text","this","is","mean","comparing","by","letters",".","qval",">","1",":","split","sequences","by","q-grams"]
code: def _get_sequences(self, *sequences: Sequence[object]) -> list:
      """Prepare sequences.
  
      qval=None: split text by words
      qval=1: do not split sequences. For text this is mean comparing by letters.
      qval>1: split sequences by q-grams
      """
      # by words
      if not self.qval:
          return [s.split() for s in sequences]  # type: ignore[attr-defined]
      # by chars
      if self.qval == 1:
          return list(sequences)
      # by n-grams
      return [find_ngrams(s, self.qval) for s in sequences]
  
imports: from __future__ import annotations
  from collections import Counter
  from contextlib import suppress
  from typing import Sequence, TypeVar
  from ..libraries import prototype
  from ..utils import find_ngrams
label_desc: Use image node_id 11 for calling the Base obj's underlying member method code with example usage: obj._get_sequences() and returns: unknown, unknown, list