minor cleanup

This commit is contained in:
Tomáš Mládek 2018-10-02 16:15:29 +02:00 committed by Tomáš Mládek
parent 4d6647bd6b
commit ab147a880f
3 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
out
downloaded.lst
delojza.log
initial.txt

View file

@ -22,7 +22,7 @@ logging.basicConfig(level=logging.INFO,
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')
logger = logging.getLogger("kunsax")
markov: markovify.NewlineText
markov = None
def add_to_corpus(text):

View file

@ -2,4 +2,5 @@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd ${DIR}
./update.sh &
source ./venv/bin/activate
python3 delojza.py 2>&1 |tee -a delojza.log