Skip to content
Snippets Groups Projects
Commit 470bd31a authored by Lange, Dr. Herbert's avatar Lange, Dr. Herbert
Browse files

implement missing function

parent 0dd7a062
Branches
No related tags found
1 merge request!6add feature to load criteria file from resource and place all criteria files...
...@@ -186,7 +186,13 @@ public abstract class GlossChecker extends Checker implements CorpusFunction { ...@@ -186,7 +186,13 @@ public abstract class GlossChecker extends Checker implements CorpusFunction {
@Override @Override
public Report function(Corpus c, Boolean fix) throws NoSuchAlgorithmException, ClassNotFoundException, FSMException, URISyntaxException, SAXException, IOException, ParserConfigurationException, JexmaraldaException, TransformerException, XPathExpressionException, JDOMException { public Report function(Corpus c, Boolean fix) throws NoSuchAlgorithmException, ClassNotFoundException, FSMException, URISyntaxException, SAXException, IOException, ParserConfigurationException, JexmaraldaException, TransformerException, XPathExpressionException, JDOMException {
return null; Report report = new Report();
for (CorpusData cd : c.getCorpusData()) {
if (getIsUsableFor().contains(cd.getClass())) {
report.merge(function(cd,fix));
}
}
return report;
} }
@Override @Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment