Skip to content

Latest commit

 

History

History
77 lines (52 loc) · 1.04 KB

README.md

File metadata and controls

77 lines (52 loc) · 1.04 KB

parser

WhatsApp parser to create a chat corpus

preconditions

  • git installed
  • node installed
  • yarn installed
  • python installed

how to run

Installation

Clone repository:

git clone https://github.com/AAA-Intelligence/parser

Install dependencies:

yarn
pip install -r requirements.txt

Setup

Put your chat.txt file into the root path of the repository

Run

macOS / Linux

./parse.sh "Name of first person" "Name of second person" OS

OS: 1 for iOS exported Chats 0 for Android exported Chats

Example for Android

./parse.sh "Leon" "Niklas" 0

Example for iOS

./parse.sh "Leon" "Niklas" 1

Windows

.\parse.ps1 "Name of first person" "Name of second person" OS

OS: 1 for iOS exported Chats 0 for Android exported Chats

Example for Android

.\parse.ps1 "Leon" "Niklas" 0

Example for iOS

.\parse.ps1 "Leon" "Niklas" 1

You should see your parsed chat in the /export folder and the generated chat data in /chat-data.