Skip to main content

Multi-dimensional Literature Analysis and Thematic Exploration

Project description

MLATE — Multi-dimensional Literature Analysis and Thematic Exploration

中文版 | English


MLATE is a CLI tool for literature deconstruction and taxonomy building using Large Language Models (LLMs). It assists researchers in extracting multi-dimensional features and organizing sub-categories from large bibliographic datasets.

Features

  • One-by-One Discovery: Extracts features and initial categories for each paper independently to capture fine details and reduce information loss or bias common in batch processing.
  • Two-Phase Convergence: Decouples "spontaneous discovery" from "taxonomy convergence." The convergence process merges labels based on semantic similarity and sample popularity.
  • Incremental Iterative Tuning: Supports repeated adjustment of convergence parameters for specific dimensions (e.g., "Application") while protecting existing data in other processed dimensions.
  • Dual-Category Labeling: The final CSV report includes both raw_labels and converged_categories, allowing researchers to verify the AI's classification evolution logic.
  • Automated Translation Support: Built-in translation module to convert paper titles, abstracts, and categories across multiple languages using LLMs.
  • Predefined Classification: Classify papers against user-defined categories in single-label or multi-label mode.

Quick Start

# 1. Filter: Score relevance and remove noise
mlate filter --input data.xls --topic "..." --output filtered.csv 

# 2. Explore: Generate raw classification drafts for each paper
mlate explore --input filtered.csv --output draft.json --dims "Application,Technology"

# 3. Converge: Merge trivial labels into a clean taxonomy and label the CSV
mlate converge --input draft.json --output taxonomy.json \
  --output-csv final_result.csv --limit-cats 5 --source-csv filtered.csv

# 4. Translate: (Optional) Translate abstracts, titles, or labels
mlate translate --input final_result.csv --output final_en.csv --lang "English" \
  --cols "Title,Abstract,Application_category"

# 5. Classify: (Optional) Predefined classification (single or multi-label)
mlate classify --input filtered.csv --output classified.csv \
  --schema "Deep Learning,NLP,Computer Vision,Data Mining" --mode multi \
  --guide "Classify by research method, not application domain"

CLI Reference

Command Argument Description
Global --model LLM model name (e.g., deepseek-chat, gpt-4o).
--source Data source format (wos, scopus, standard, auto).
filter --topic Topic keywords for relevance scoring.
--min-score Passing threshold (1-5, default 3.0).
--output-lang Language for scoring criteria and reasons.
explore --dims Initial discovery dimensions (e.g., Application, Technology).
--guide Researcher guidance to fine-tune AI discovery.
--output-lang Language for raw labels and reasons.
converge --limit-cats Max number of categories per dimension.
--dims Only process specified dimensions (incremental update).
--output-csv Path to save the dual-labeled CSV file.
--source-csv Source CSV path for title mapping.
--output-lang Language for category definitions.
translate --lang Target language for translation.
--cols Columns to translate (comma separated, CSV only).
classify --schema Predefined categories (JSON file, text file, or comma-separated).
--mode Classification mode: single (one per paper) or multi (multiple).
--guide Researcher guidance for fine-tuning.
config set/show Manage global settings (model, language, etc.).

Configuration

  • API Key: Must be set via environment variable MLATE_API_KEY. Not stored on disk for security.
  • Global Language Setting:
    mlate config set output_lang English
    

Disclaimer

All results (relevance scores, categories, reasons, and translations) are generated by Large Language Models (LLMs). LLMs are prone to hallucinations and may produce inaccurate, biased, or entirely fabricated information. This tool is for research assistance only. Users must manually verify all AI-generated outputs before using them in academic publications or formal reports. The author is not responsible for any research errors, data misinterpretations, or losses resulting from the use of this tool.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mlate-0.1.1.tar.gz (32.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mlate-0.1.1-py3-none-any.whl (37.0 kB view details)

Uploaded Python 3

File details

Details for the file mlate-0.1.1.tar.gz.

File metadata

  • Download URL: mlate-0.1.1.tar.gz
  • Upload date:
  • Size: 32.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mlate-0.1.1.tar.gz
Algorithm Hash digest
SHA256 fc5b31ec2da403d892a77ce04ba30d9085a35e324064d332943209f798fbc2b1
MD5 fd2e1796aa5128fa420b21637516c16a
BLAKE2b-256 f2dcaf36680bf97129bb2574e9a5e3ab5612d4bc8e9a4059a3fbf0866ce96682

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlate-0.1.1.tar.gz:

Publisher: python-publish.yml on NaClCode/MLATE

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mlate-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: mlate-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 37.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mlate-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c62f448a8ab30cd4af0157f3207f044986aa4f48bf876dc2285cf6a8516a9bd4
MD5 2077f52b2b88b2e4f0b31b6147c8eb6d
BLAKE2b-256 b2cc4c977665fd622e4187cc148f40f5304260ed78332b435371ed2b38657484

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlate-0.1.1-py3-none-any.whl:

Publisher: python-publish.yml on NaClCode/MLATE

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page