conflict fixed

master
Castro0o 7 years ago
commit 8abb23bbbe

@ -37,6 +37,7 @@ myscript: tesseract
cat $(outputocr) | python3 src/myscript.py > output/a-new-file.txt
wordtagger: tesseract
cat $(outputocr) | python3 src/wordtagger.py > output/tagged-words.txt
talktochatbot: tesseract

@ -6,4 +6,6 @@ Makefile:
* `make tessaract` **dependency: tesseract**
* `make myscript`
* `make visualization`: **dependency: mplayer** creates visualization of images/ dir, by cating the images content into mplayer. See more option ins [shiftop](https://git.bleu255.com/shiftop/file/shiftop.html)
* `make talktochatbot`: **dependency: ChatterBot** talkes with the ocred file
* `make wordtagger`: **dependency: tesseract** Uses scanned pages as an input, tags each word for their wordtype (noun, verb etc) and saves it in a text file.
* `make talktochatbot`: **dependency: ChatterBot** talkes with the ocred file

@ -3,7 +3,7 @@ from sys import stdin, stdout
def seven(text):
fpath = open('91K nouns.txt')
fpath = open('src/91K_nouns.txt')
nouns = fpath.readlines()
separated = text.split() #use nltk tokenize instead
#print(separated)

Loading…
Cancel
Save