Skip to main content

A package for Group Conversation Analysis with improved text processing and visualization

Project description

English | 简体中文

GCA Analyzer

PyPI version Tests Coverage Status Documentation Status PyPI Downloads PyPI Downloads

Introduction

GCA Analyzer is a Python package for analyzing group conversation dynamics using NLP techniques and quantitative metrics. It provides comprehensive tools for understanding participation patterns, interaction dynamics, content novelty, and communication density in group conversations.

Features

  • Multi-language Support: Built-in support for Chinese and other languages through LLM models
  • Comprehensive Metrics: Analyzes group interactions through multiple dimensions
  • Automated Analysis: Finds optimal analysis windows and generates detailed statistics
  • Flexible Configuration: Customizable parameters for different analysis needs
  • Easy Integration: Command-line interface and Python API support

Quick Start

Installation

# Install from PyPI
pip install gca-analyzer

# For development
git clone https://github.com/etShaw-zh/gca_analyzer.git
cd gca_analyzer
pip install -e .

Basic Usage

  1. Prepare your conversation data in CSV format with required columns:
conversation_id,person_id,time,text
1A,student1,0:08,Hello teacher!
1A,teacher,0:10,Hello everyone!
  1. Run analysis:
python -m gca_analyzer --data your_data.csv
  1. Descriptive statistics for GCA measures:

The analyzer generates comprehensive statistics for the following measures:

Descriptive Statistics

  • Participation

    • Measures relative contribution frequency
    • Negative values indicate below-average participation
    • Positive values indicate above-average participation
  • Responsivity

    • Measures how well participants respond to others
    • Higher values indicate better response behavior
  • Internal Cohesion

    • Measures consistency in individual contributions
    • Higher values indicate more coherent messaging
  • Social Impact

    • Measures influence on group discussion
    • Higher values indicate stronger impact on others
  • Newness

    • Measures introduction of new content
    • Higher values indicate more novel contributions
  • Communication Density

    • Measures information content per message
    • Higher values indicate more information-rich messages

Results are saved as CSV files in the specified output directory.

Citation

If you use this tool in your research, please cite:

@software{gca_analyzer,
  title = {GCA Analyzer: Group Conversation Analysis Tool},
  author = {Xiao, Jianjun},
  year = {2025},
  url = {https://github.com/etShaw-zh/gca_analyzer}
}

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

gca_analyzer-0.4.3.tar.gz (27.6 kB view details)

Uploaded Source

Built Distribution

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

gca_analyzer-0.4.3-py3-none-any.whl (31.6 kB view details)

Uploaded Python 3

File details

Details for the file gca_analyzer-0.4.3.tar.gz.

File metadata

  • Download URL: gca_analyzer-0.4.3.tar.gz
  • Upload date:
  • Size: 27.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for gca_analyzer-0.4.3.tar.gz
Algorithm Hash digest
SHA256 1a8bf888a8a40d97abfd1982d52c22cc429b503c6634e8d9bdd5c92d7d987a94
MD5 268bcaccdd9c6c4154455d60b320d70f
BLAKE2b-256 54cac7e1605660d6fa2932c2d0d946f8d2590bd03a783360f651146e74167cdf

See more details on using hashes here.

File details

Details for the file gca_analyzer-0.4.3-py3-none-any.whl.

File metadata

  • Download URL: gca_analyzer-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 31.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for gca_analyzer-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 64a739860c15d2814c8f320f484a3ec9adf74dbf100c6eeaf79e8a65556e74c3
MD5 f20e1f499679eb3329795b9564aa6026
BLAKE2b-256 79ef99f850810c0c1337ce876d160bc1ca3ed04624821ef350dccccec2913649

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