ericbrasiln / qualichat

Open-source linguistic ethnography tool for framing public opinion in mediatized groups.

Home Page:http://qualichat.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Qualichat

Open-source linguistic ethnography tool for framing public opinion in mediatized groups.

Table of Contents

Installing

Python 3.7.1 or higher is required.

To install the library, you can just run the following command:

$ git clone https://github.com/qualichat/qualichat
$ cd qualichat

# Linux/MacOS
$ python3 -m pip install -U .
# Windows
$ py -3 -m pip install -U .

Qualichat is not available on PyPI yet.

Quickstart

To use this library, you need a plain chat text file, following this format:

[dd/mm/yy hh:mm:ss] <contact name>: <message>

For example, see this following sample chat file named sample-chat.txt:

[01/01/21 07:52:45] Joel: Hello!
[01/01/21 07:52:47] Mary: Hi!
[01/01/21 07:52:49] Joel: How are you guys?
[01/01/21 07:52:52] Mary: We are fine! 😊
How about you?
[01/01/21 07:52:55] Oliva: Everything's great!
[01/01/21 07:52:59] Joel: Cool! I am also fine!
[01/01/21 07:53:03] John left

In your code, you will just load the chat using qualichat.load_chat().

chat = qualichat.load_chat('sample-chat.txt')

Links

About

Open-source linguistic ethnography tool for framing public opinion in mediatized groups.

http://qualichat.com

License:MIT License


Languages

Language:Python 100.0%