diff --git a/grobid-core/src/main/java/org/grobid/core/engines/FullTextParser.java b/grobid-core/src/main/java/org/grobid/core/engines/FullTextParser.java index 9b9001d073..81cb89e224 100755 --- a/grobid-core/src/main/java/org/grobid/core/engines/FullTextParser.java +++ b/grobid-core/src/main/java/org/grobid/core/engines/FullTextParser.java @@ -102,15 +102,6 @@ public Document processing(File inputPdf, return processing(inputPdf, null, config); } - /*public Document processing(File inputPdf, - String flavor, - GrobidAnalysisConfig config) throws Exception { - DocumentSource documentSource = - DocumentSource.fromPdf(inputPdf, config.getStartPage(), config.getEndPage(), - config.getPdfAssetPath() != null, true, false); - return processing(documentSource, flavor, config); - }*/ - public Document processing(File inputPdf, String md5Str, GrobidAnalysisConfig config) throws Exception { diff --git a/grobid-trainer/src/main/java/org/grobid/trainer/FulltextTrainer.java b/grobid-trainer/src/main/java/org/grobid/trainer/FulltextTrainer.java index ca2c2c2efb..f556b7e89c 100755 --- a/grobid-trainer/src/main/java/org/grobid/trainer/FulltextTrainer.java +++ b/grobid-trainer/src/main/java/org/grobid/trainer/FulltextTrainer.java @@ -171,7 +171,7 @@ public boolean accept(File dir, String name) { String token = null; if (ii != -1) { token = line.substring(0, ii); - // unicode normalisation of the token - it should not be necessary if the training data + // Unicode normalisation of the token - it should not be necessary if the training data // has been gnerated by a recent version of grobid token = UnicodeUtil.normaliseTextAndRemoveSpaces(token); }