code: def tag_lang(cls, ref: str) -> str:
      return langid.classify(ref)[0]
  
imports: from typing import List, Optional
  import langid
  import logging
label_desc: Use image node_id 2 for calling the VizSeqLanguageTagger obj's underlying member method code with example usage: obj.tag_lang(cls, ref) and returns: langid