Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
urieli committed Mar 26, 2022
2 parents c20df3b + 6c943f2 commit b2c7c08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public SentenceDetectorEvaluator(Reader evalReader, File outDir, String sessionI
Config config = ConfigFactory.load();
this.sentenceDetector = SentenceDetector.getInstance(sessionId);
Config sentenceConfig = config.getConfig("talismane.core." + sessionId + ".sentence-detector");
this.corpusReader = SentenceDetectorAnnotatedCorpusReader.getCorpusReader(evalReader, sentenceConfig.getConfig("input"), sessionId);
this.corpusReader = SentenceDetectorAnnotatedCorpusReader.getCorpusReader(evalReader, sentenceConfig.getConfig("evaluate"), sessionId);

File sentenceErrorFile = new File(outDir, TalismaneSession.get(sessionId).getBaseName() + "_errors.txt");
this.errorWriter = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(sentenceErrorFile, false), "UTF8"));
Expand Down
2 changes: 1 addition & 1 deletion talismane_core/src/main/resources/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ talismane {
model = null

# Regular expression to match possible sentence boundaries
possible-boundaries = """[.?!")\]}»—―”″“…]"""
possible-boundaries = """[.?!")\]}»”″“…]"""

# Adding a quote just to make the file highlight correctly "

Expand Down

0 comments on commit b2c7c08

Please sign in to comment.