Skip to content

Commit

Permalink
#16 update paths and move files to correct folder
Browse files Browse the repository at this point in the history
  • Loading branch information
schuellersa committed Jul 28, 2021
1 parent a05f794 commit a3423f9
Show file tree
Hide file tree
Showing 14 changed files with 40 additions and 67 deletions.
4 changes: 2 additions & 2 deletions Exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ def main(argv):
if opt == '--maxclaims':
criteria.maxClaims = int(arg)
if criteria.website != "":
criteria.setOutputDev("output_dev_" + criteria.website + ".csv")
criteria.setOutputSample("output_sample_" + criteria.website + ".csv")
criteria.setOutputDev("samples/output_dev_" + criteria.website + ".csv")
criteria.setOutputSample("samples/output_sample_" + criteria.website + ".csv")
if opt == '--annotation-api':
criteria.annotator_uri = arg

Expand Down
2 changes: 1 addition & 1 deletion claim_extractor/extractors/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def __init__(self, configuration: Configuration = Configuration(), ignore_urls:
self.configuration = configuration
self.ignore_urls = configuration.avoid_urls
self.language = language
self.failed_log = open(self.__class__.__name__ + "_extraction_failed.log", "w")
self.failed_log = open("failed/" + self.__class__.__name__ + "_extraction_failed.log", "w")
self.annotator = EntityFishingAnnotator(configuration.annotator_uri)

def get_all_claims(self):
Expand Down
Empty file added failed/test.txt
Empty file.
83 changes: 28 additions & 55 deletions output_got.csv

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit a3423f9

Please sign in to comment.