class_docstr: Args:
      version
      data_dir
  
  Attributes:
      model
      classes
class_docstr_tok: ["Args",":","version","data_dir","Attributes",":","model","classes"]
code: def classes(self) -> list[str]:
      if self._classes is None:
          labels = self.model.labels
          assert isinstance(labels, list)  # type guard
          self._classes = sorted(
              self._to_lang(label) for label in labels
          )
      return self._classes
  
imports: from __future__ import annotations
  import logging
  import pathlib
  import urllib.parse
  import floret
  from floret.floret import _floret
  from ..None import utils
  from ..constants import DEFAULT_DATA_DIR
label_desc: Use image node_id 5 for calling the LangIdentifier obj's underlying member method code with example usage: obj.classes() and returns: self