From e62d500ff6988f8c6cd8b590c0ddf6240295b0c9 Mon Sep 17 00:00:00 2001 From: gicraveiro Date: Tue, 8 Feb 2022 13:22:54 +0100 Subject: [PATCH] updated input path --- sentence_annotation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentence_annotation.py b/sentence_annotation.py index 74732c9..e6b1149 100644 --- a/sentence_annotation.py +++ b/sentence_annotation.py @@ -44,7 +44,7 @@ def process_document(title, source_path, sheet, SAMPLE_SPREADSHEET_ID): nlp = spacy.load('en_core_web_sm') # Obs: splitting for annotation was executed with sm but ideally should have been with large model -path='Privacy/Facebook/TargetCompanySourced' # TO ADD DIFFERENT DOCUMENTS, UPDATE PATH +path='Facebook/Policies' # TO ADD DIFFERENT DOCUMENTS, UPDATE PATH # Loops through all the documents in the specified folder for filename in os.listdir('data/'+path):