SoCial puRpose Organization Language modeL
The SCROLL project includes the following modules:
- NER model for extracting terms from descriptions of social purpose organizations
- Narrative building model from semantic roles
- Citation: Gajderowicz, B., Rosu, D., & Fox, M. S. (2022). Compass Event , Client , and Service Ontology : A Design Pattern for Social Services. The Eighth Joint Ontology Workshops (JOWO’22), CEUR Workshop Proceedings, 1--12.
conda env create -f PyScroll.yml python=3.9
cd corenlp
chmod +x nlp_server.sh
curl https://downloads.cs.stanford.edu/nlp/software/stanford-corenlp-4.3.1.zip > stanford-corenlp-4.3.1.zip
open stanford-corenlp-4.3.1.zip
curl https://downloads.cs.stanford.edu/nlp/software/stanford-parser-4.2.0.zip > stanford-parser-4.2.0.zip
open stanford-parser-4.2.0.zip
cd ..
- Follow instructions here https://www.swi-prolog.org/download/stable
./corenlp/nlp_server.sh
- This will generate all files based on sentences in
output/unit_test_sentences.txt
python -i run_unit_tests.py
-
create and place in
output/<file_prefix>/input/input_file.csv
file_prefix = 'my_data_source' filename = 'output/%s/input/input_file.csv'%(file_prefix) posp = POSProcesses(col='Description', program_name=Program Name') posp.load_compass_paragraphs( filename=filename, file_prefix=file_prefix, random_n=None)