Open whatSocks opened 2 years ago
Hello and thank you for your interest. This repository includes just the fundamentals to base an app upon. If you want to input some text you will need to call document_analysis with your text. For example:
document_analysis("The dog ate the cat food", {})
You can either create a django view and call this method with your text or you can just execute the test_document_analysis_creates_entity_graph with a different sentence
text. When you run the method by itself or the test you can check the http://localhost:7474/browser/
for the node graph.
I can't tell from the readme and would like to try. I have the app running successfully and have tried several variations of:
docker exec -it logos_backend_1 python core/analysis/
with result:
/usr/local/bin/python: can't find '__main__' module in '/usr/src/app/web/core/analysis/'