PyConversations
latest
  • Overview
  • Installation
  • Usage
    • Conversation Class
    • UniMessage Class
    • Save & Load
    • Feature Extraction
    • Jupyter Notebooks
  • Reference
  • Contributing
  • Authors
  • Changelog
PyConversations
  • »
  • Usage
  • Edit on GitHub

Usage¶

To use PyConversations in a project:

import pyconversations
  • Conversation Class
    • Instantiation
    • Conversation Arithmetic
    • Adding and removing posts
    • User-Information Redaction
    • Alternate Representations
    • Splicing Conversations
    • Other Methods and Properties
  • UniMessage Class
    • Instantiation
    • Properties
    • User Mentions & Redaction
    • Alternate Representation
    • Parsing Platform Datetimes
  • Save & Load
    • JSON File
    • JSON Line File
  • Feature Extraction
    • Dictionary Raw Features
    • Vectorization
      • PostVectorizer
      • ConversationVectorizer
      • UserVectorizer
      • Recommended Usage

Jupyter Notebooks¶

This project features several Jupyter Notebooks that demonstrate how one might use this package in practice:

  • Reading Raw Data
    • Twitter Example

    • Reddit Example (using praw package)

    • 4chan Example (using BASC-py4chan package)

    • Heterogeneous Example (RumourEval from SemEval-2019 Task 7)

  • Applications
    • Classifying Support Labels (RumourEval from SemEval-2019 Task 7a)

Next Previous

© Copyright 2021, Hunter Scott Heidenreich. Revision 62d69bf8. Last updated on Aug 23, 2021.

Built with Sphinx using a theme provided by Read the Docs.