code: def view_n_grams(log_path: str, k: int = 64):
      sources, _, _ = _get_data(log_path)
      return _view_n_grams(sources, k=k)
  
file_path: vizseq/vizseq/ipynb/fairseq_viz.py
imports: import os.path
  from collections import Counter
  from typing import List, Optional, Union
  from vizseq.ipynb.core import view_examples, view_stats, view_n_grams, view_scores
  from vizseq._view import DEFAULT_PAGE_SIZE, DEFAULT_PAGE_NO, VizSeqSortingType
label_desc: Use image node_id 4 for calling a global function with example usage: view_n_grams(log_path, k) and returns: _view_n_grams