@sanasar_bot

armenian speaking twitter bot

https://gitlab.com/vgratian/sanasar

@sanasar_bot

background:

https://gitlab.com/vgratian/sanasar

  • indo-european language with own alphabet
  • small twitter community (+/- 500 users?)
  • even smaller "elite" generating memes
  • taboo
  • political satire

2/16

  • group/individual identity

@sanasar_bot

https://gitlab.com/vgratian/sanasar

- What do you want to be when you grow up?

      -  A Vulgar Feminist

3/16

@sanasar_bot

https://gitlab.com/vgratian/sanasar

In the mood of being vulgar feminist and LGTB

4/16

@sanasar_bot

https://gitlab.com/vgratian/sanasar

Some people are vulgar, take it easy

5/16

@sanasar_bot

https://gitlab.com/vgratian/sanasar

This is a menstruation of love and solidarity

6/16

@sanasar_bot

@sanasar_bot

https://gitlab.com/vgratian/sanasar

read_tweets.py

  • read feed every 20 minutes
  • tokenize, render bigrams
  • update model:
  • new bigram: count = 1
  • existing bigram: count += 1
  • remove punctuation, but keep/add period
  • same for unigrams

8/16

@sanasar_bot

https://gitlab.com/vgratian/sanasar

reply_tweets.py

  • check mentions every 35 seconds
  • get bigrams with highest probability starting with w 1
  • bigram probability
  • not longer than 10 words
  • end with period or retry
  • random choice between top 3 bigrams

9/16

please

leave

me

alone

.

@sanasar_bot

$ python3 main.py &

@sanasar_bot

https://gitlab.com/vgratian/sanasar

@ArturTeryan: serzh

        @Sanasar_bot: let serzh stay

11/16

@sanasar_bot

https://gitlab.com/vgratian/sanasar

@ArturTeryan: omelette

        @Sanasar_bot: make omelette please.

12/16

@sanasar_bot

https://gitlab.com/vgratian/sanasar

@hayDalek: dye

        @Sanasar_bot: please dye and let's go for eat khash.

13/16

@sanasar_bot

https://gitlab.com/vgratian/sanasar

@khamazaspyan: bastard

        @Sanasar_bot: that bastard karen came (again).

14/16

@sanasar_bot

future plans:

https://gitlab.com/vgratian/sanasar

  • fix bugs (a lot of them)
  • classify/cluster users, learn to talk "without help"
  • follow new users
  • give insights on:
  • who are influences and how they influence others
  • how do memes emerge and evolve
  • "enlighten" non-tech people

15/16

  • your ideas?

@sanasar_bot

*thank you*

@vgratian

vgratian@utopianlab.am

gitlab.com/vgratian

Made with Slides.com