Common-SenseMakers / sensemakers

Sensemakers infrastructure for developing AI-based tools for semantic annotations of social posts. Cross-poster app to publish your semantic posts on different networks.
GNU General Public License v3.0
1 stars 2 forks source link

[NLP] moving process_kewords from st_demo #33

Closed ShaRefOh closed 6 months ago

ShaRefOh commented 6 months ago

@ronentk could you move the function to a separate module like runners or something? Each time I call the function it prompts st stuff on the terminal.

ronentk commented 6 months ago

You can use https://github.com/Common-SenseMakers/sensemakers/blob/367d66dfc3431b64bd048bf8c2f28b9177692b48/nlp/desci_sense/shared_functions/parsers/firebase_api_parser.py#L543

directly from the parser model. This is what the st demo calls as well - https://github.com/Common-SenseMakers/sensemakers/blob/367d66dfc3431b64bd048bf8c2f28b9177692b48/nlp/desci_sense/demos/st_demo.py#L249

ShaRefOh commented 6 months ago

Ok thanks