Skip to main content

This module simplifies Python package management, script execution, file handling, web scraping, and multimedia downloads. The module supports (LLM-based) NLP tasks such as OCR, tokenization, lemmatization, POS tagging, NER, ATE, dependency parsing, MDD, WSD, LIWC, MIP analysis and Chinese-English sentence alignment. It also generates word lists, and plots data, aiding literary students. Ideal for scraping data, cleaning text, and analyzing language, it offers user-friendly tools to streamline workflows.

Project description

Purpose: This module is designed to make complex tasks accessible and convenient, even for beginners. By providing a unified set of tools, it simplifies the workflow for data collection, processing, and analysis. Whether you're scraping data from the web, cleaning text, or performing LLM-based NLP tasks, this module ensures you can focus on your research without getting bogged down by technical challenges.

Key Features:

  1. Web Scraping: Easily scrape data from websites and download multimedia content.
  2. Package Management: Install, uninstall, and manage Python packages with simple commands.
  3. Data Retrieval: Extract data from various file formats like text, JSON, TSV, Excel, XML, and HTML (both online and offline).
  4. Data Storage: Write and append data to text files, Excel, JSON, TMX, and JSON lines.
  5. File and Folder Processing: Manage file paths, create directories, move or copy files, and search for files with specific keywords.
  6. Data Cleaning: Clean text, handle punctuation, remove stopwords, convert Markdown strings into Python objects, and prepare data for analysis, utilizing valuable corpora and dictionaries such as CET-4/6 vocabulary, BE21 and BNC-COCA word lists.
  7. NLP: Perform OCR, word tokenization, lemmatization, POS tagging, NER, dependency parsing, ATE, MDD, WSD, LIWC, MIP analysis, and Chinese-English sentence alignment using prepared LLM prompts.
  8. Math Operations: Format numbers, convert decimals to percentages, and validate data.
  9. Visualization: Process images (e.g., make white pixels transparent, resize images) and manage fonts for rendering text.

Author: Pan Guisheng, a PhD student at the Graduate Institute of Interpretation and Translation of Shanghai International Studies University Email: 895284504@qq.com

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

PgsFile-0.5.0-py3-none-any.whl (40.0 MB view details)

Uploaded Python 3

File details

Details for the file PgsFile-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: PgsFile-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 40.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for PgsFile-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7cbaca6c6e2fa41fa1d2fcf945ec5c799b4ff730d2a10ba13b147232c2324020
MD5 81979e46eec32971e7d85581033e3c40
BLAKE2b-256 4626b41a460c3734376d7722bee566e4baf9a93c735d3d7ee7256abad0ff4577

See more details on using hashes here.

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