Code Monkey home page Code Monkey logo

messaging-chat-parser's Issues

user not added to parsed messages

user not added to parsed messages

in the folder chat_parsed, in both files, telegram-chats.txt and wa-chats.txt the only messages that appear are [others]

Wrong datetime format

I get the error ValueError: time data '04/01/2017, 10:31 'does not match format'%d/%m/%y, %H:%M'. The problem seems to be with the %y that should be %Y

My Python version is 3.9.5
My OS is MacOS

Ability to use parsers individually

how can I disable telegram parser and use only WhatsApp parser? or vice-versa?

I don't have telegram export and the code is failing is trying to parse telegram export.

The program detects all my lines has 'invalid'

Program detects all my lines has 'invalid'

Hello, I've found your project on Reddit, and I'm currently testing this repository.

Well, I tried do preprocess my data, but unfortunally I'm getting this error. Any ideas?

Command used:
python ./src/whatsapp_parser.py --session_token "<|endoftext|>" --delta_h_threshold 4 --us --user_name johnny

Logs:
[whatsapp_parser.py][INFO]: WA_STOP_WORDS:['https', '<Media omessi>', '<Media omitted>', 'www']

[whatsapp_parser.py][INFO]: Found 1 txt files in ./data/chat_raw/whatsapp/ folder ['./data/chat_raw/whatsapp/_chat.txt']

[whatsapp_parser.py][INFO]: Found 33322 invalid lines in ./data/chat_raw/whatsapp/_chat.txt

[whatsapp_parser.py][INFO]: Saving ./data/chat_parsed/wa-chats.txt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.