Skip to content

Commit

Permalink
updated input path
Browse files Browse the repository at this point in the history
  • Loading branch information
gicraveiro committed Feb 8, 2022
1 parent 49e1215 commit e62d500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sentence_annotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit e62d500

Please sign in to comment.