N-gram Analysis

Code is designed to take in a file from SCOPUS and perform N-gram (2-gram, 3-gram, and 4-gram) to help identify simple themes.

You are now following this Submission

N-gram topic scan for bibliometric exports (Scopus-style headings).
  • Reads an Excel file with a 'Title' column (and optionally 'Abstract').
  • Cleans text with a generic English stoplist.
  • Filters out copyright statements
  • Generates 2, 3, 4-grams; ranks and plots top terms; exports CSV summaries.
Usage:
  1. Put this script in the same folder as your .xlsx
  2. Set inputFile and textField below
  3. Run

Cite As

Graham (2026). N-gram Analysis (https://uk.mathworks.com/matlabcentral/fileexchange/183188-n-gram-analysis), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0