From af85f78f1f0e140d868b093bb94787f66aa38163 Mon Sep 17 00:00:00 2001 From: funix Date: Tue, 5 Oct 2021 11:20:04 +0200 Subject: [PATCH] todo+ --- layout/codio.py | 37 ------------------------------------- todo.txt | 9 +++++++++ 2 files changed, 9 insertions(+), 37 deletions(-) delete mode 100644 layout/codio.py diff --git a/layout/codio.py b/layout/codio.py deleted file mode 100644 index 746071c..0000000 --- a/layout/codio.py +++ /dev/null @@ -1,37 +0,0 @@ -import nltk - -with open('speech.txt','r') as result: - r = result.read() - -r = r.replace('','').replace('\n','. ') - -l=nltk.word_tokenize(r) -pos = nltk.pos_tag(l) - -html = ''' - - - - - - - - Booklet - - -''' - -for x in pos: - if x[0] == '.': - html += ".
" - else: - html += " "+x[0]+"" - - -html += ''' -''' - -html = html.replace(' .','.').replace(" '", "'") - -with open('index.html','w') as index: - index.write(html) diff --git a/todo.txt b/todo.txt index 6c3ea85..f6b26f6 100644 --- a/todo.txt +++ b/todo.txt @@ -1,5 +1,14 @@ > rendering css capire cosa e non cosa > preparare domande x parte teorica + > prep mail da mandare in anticipo con istru git + > prep 3 fogli css per auto layout > prep cose fatte in precedenza da fa vedere + + +info su git +vscode +py + nltk +console +chrome :(