I hereby claim:
- I am jd7h on github.
- I am jd7h (https://keybase.io/jd7h) on keybase.
- I have a public key whose fingerprint is BD1C CEB7 A2ED 8C82 F21B C921 9119 43FF E454 2CE7
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Analysis based on 6174 tweets between 2016-12-27 and 2017-01-01. For more information, see the code on github.
#!/usr/bin/python | |
''' | |
USE AT YOUR OWN PERIL <3 | |
Before using the script, | |
fill in your API keys, | |
fill in the whitelist, | |
do a small test run with a small list. | |
''' |
Analysis based on 9821 tweets between 2017-12-27 and 2018-01-02 (15:00). For more information, see the code on github.
import re | |
strings = set() | |
with open('texts.txt', mode='r', encoding='utf-8') as file_input: | |
content = file_input.read() | |
regExStr = r'^\s*\d string title = "(?:tooltip\d+|Name|Dialogue Text)"\n\s*\d string value = "((?!(START|input|\w+\(\)|\!\(\w+\(\)\))).+)"$' | |
compiled = re.compile(regExStr, re.MULTILINE) | |
matched = compiled.finditer(content) |
# usage: | |
# python -m venv venv | |
# source venv/bin/activate | |
# pip install -r requirements.txt | |
# pip freeze > requirements_frozen.txt | |
# python -m requirements_to_yaml --minimal | |
import re | |
import argparse |