class_docstr: Class for detecting language of text.
class_docstr_tok: ["Class","for","detecting","language","of","text","."]
docstr: Handle single str or Document
docstr_tok: ["Handle","single","str","or","Document"]
code: def process(self, doc):
      """
      Handle single str or Document
      """
  
      wrapped_doc = [doc]
      return self._process_list(wrapped_doc)[0]
  
file_path: stanza/stanza/pipeline/langid_processor.py
imports: import emoji
  import re
  import stanza
  import torch
  from stanza.models.common.doc import Document
  from stanza.models.langid.model import LangIDBiLSTM
  from stanza.pipeline._constants import *
  from stanza.pipeline.processor import UDProcessor, register_processor
label_desc: Use image node_id 6 for calling the LangIDProcessor obj's underlying member method code with example usage: obj.process(doc) and returns: self