Skip to content

EXORD-STUDIO/srn-ondocumentupload

 
 

Repository files navigation

Script for onDocumentUpload

This script should run whenever a document is uploaded.

The idea is that we generate some statistics on the content, such as:

To do so, we first parse the sentences from the pages and then apply the measures to (a) sentences from all pages, (b) sentences marked as discussing environmental or social matters, and, if the pages are specified, (c) sentences from pages of the sustainability statement, (d) sentences from pages in the sustainability statement marked as discussing environmental or social matters. Options (c) and (d) are only possible if pdfpage_sust_start and pdfpage_sust_end are specified.

The output json should be stored together with the document.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 98.7%
  • Dockerfile 1.3%