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.
https://sense-nets.xyz/
GNU General Public License v3.0
2 stars 2 forks source link

[NLP] Split ParserResult into ParserResultRDF and ParserResult #23

Closed ronentk closed 6 months ago

ronentk commented 7 months ago

Current ParserResult https://github.com/Common-SenseMakers/sensemakers/blob/1534c5d84cab0f25a15c000b0e934c128f221797/nlp/desci_sense/shared_functions/interface.py#L166 should be ParserResultRDF, which is adapted for the Firebase API.

and a new ParserResult should be something like https://github.com/Common-SenseMakers/sensemakers/blob/1534c5d84cab0f25a15c000b0e934c128f221797/nlp/desci_sense/shared_functions/postprocessing/__init__.py#L20 This would be useful internally for example for the filtering pipeline.