code: def write_analyzes():
      count_token_dict, count_symbol_dict = analyze_token_and_symbol()
      print("finish tokenize")
      tokens = sorted(count_token_dict.items(), key=lambda x: -x[1])
      with open(TOKENS_ANALYSE_FILE, "w") as f:
          for item in tokens:
              s = f"{item[0]}\t\t{item[1]}"
              print(s)
              f.write(s + "\n")
      symbols = sorted(count_symbol_dict.items(), key=lambda x: -x[1])
      with open(SYMBOLS_ANALYSE_FILE, "w") as f:
          for item in symbols:
              s = f"{item[0]}\t\t{item[1]}"
              print(s)
              f.write(s + "\n")
  
file_path: underthesea/examples/text_normalize/normalize.py
imports: from datetime import datetime
  from os.path import join
  from underthesea import text_normalize
  from underthesea.file_utils import UNDERTHESEA_FOLDER
  from underthesea.pipeline.word_tokenize import tokenize
label_desc: Use image node_id 2 for calling a global function with example usage: write_analyzes() without return types