@ -53,18 +53,18 @@ ocr/output.txt: ## ocr with tesseract
#OUTPUT GENERATION RECIPES
#OUTPUT GENERATION RECIPES
output/tagged-words.txt:ocr/output.txt## DESCRIBE WHAT IT DOES. Dependecies: python3's nltk, nltk's averaged_perceptron_tagger
output/tagged-words.txt:ocr/output.txt## Analyzes OCR'ed text using a Part of Speech (POS) tagger. Outputs a string of tags (e.g. nouns, verbs, adjectives, and adverbs). Dependencies: python3's nltk, nltk's averaged_perceptron_tagger
cat $< | python3 src/wordtagger.py > $(@)
cat $< | python3 src/wordtagger.py > $(@)
# install nltk's 'averaged_perceptron_tagger':
# install nltk's 'averaged_perceptron_tagger':
# $ python 3
# $ python 3
# >>> import nltk
# >>> import nltk
# >>> nltk.download('averaged_perceptron_tagger')
# >>> nltk.download('averaged_perceptron_tagger')
output/chatbot.txt:ocr/output.txt## DESCRIBE WHAT IT DOES. Dependecies: python3's chatterbot
output/chatbot.txt:ocr/output.txt## DESCRIBE WHAT IT DOES. Dependencies: python3's chatterbot
cat $< | python3 src/textbotconversation.py $(@)
cat $< | python3 src/textbotconversation.py $(@)
output/n7.txt:ocr/output.txt## DESCRIBE WHAT IT DOES. Dependecies: python3's chatterbot
output/n7.txt:ocr/output.txt## DESCRIBE WHAT IT DOES. Dependencies: python3's chatterbot