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.

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"

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.2.tar.gz (36.3 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.2-py3-none-any.whl (43.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mlate-0.1.2.tar.gz
  • Upload date:
  • Size: 36.3 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.2.tar.gz
Algorithm Hash digest
SHA256 63d9ba3fbe893555f49377ed1df8a3634902790ea679e7da7caccb1a921bbf72
MD5 5cf9cda592ecd1710a981288e8fafb8c
BLAKE2b-256 8ccdbb0361bb6f89aaa8e51e6cccc30876ad4b17ac7ebb22da68e97a122b369e

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlate-0.1.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: mlate-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 43.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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c9b8f8eb05738113269795fcda591154855257cd5e47e87c20b2612fe2563515
MD5 9d85c8e11c3ec5f20869e61ae39b908e
BLAKE2b-256 09ae672d9af0b2a1d2ba763f3e5420b6d2edcab8b43af4f4bee5d484e5fa8e97

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlate-0.1.2-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