class_docstr: Tokenizer used for SacreBLEU calculation.
  
  Source: https://github.com/mjpost/sacrebleu/tree/master/sacrebleu/tokenizers
class_docstr_tok: ["Tokenizer","used","for","SacreBLEU","calculation",".","Source",":","https",":","\/\/github.com\/mjpost\/sacrebleu\/tree\/master\/sacrebleu\/tokenizers"]
docstr: Check if character is chinese.
  
  Args:
      uchar: input char in unicode.
  
  Return:
      whether the input char is a Chinese character.
docstr_tok: ["Check","if","character","is","chinese",".","Args",":","uchar",":","input","char","in","unicode",".","Return",":","whether","the","input","char","is","a","Chinese","character","."]
code: def _is_chinese_char(uchar: str) -> bool:
      """Check if character is chinese.
  
      Args:
          uchar: input char in unicode.
  
      Return:
          whether the input char is a Chinese character.
  
      """
      return any(start <= uchar <= end for start, end in _UCODE_RANGES)
  
imports: import os
  import re
  import tempfile
  from functools import partial
  from typing import Any, ClassVar, Dict, Optional, Sequence, Type
  import torch
  from torch import Tensor, tensor
  from typing_extensions import Literal
  from torchmetrics.functional.text.bleu import _bleu_score_compute, _bleu_score_update
  from torchmetrics.utilities.imports import _IPADIC_AVAILABLE, _MECAB_AVAILABLE, _MECAB_KO_AVAILABLE, _MECAB_KO_DIC_AVAILABLE, _REGEX_AVAILABLE, _SENTENCEPIECE_AVAILABLE
label_desc: Use image node_id 5 for calling the _SacreBLEUTokenizer obj's underlying member method code with example usage: obj._is_chinese_char(uchar) and returns: any