Commit 25ef53f2 authored by Arne Christian Loose's avatar Arne Christian Loose

small fixes

parent 1216ca66
Pipeline #2523 skipped
......@@ -18,7 +18,7 @@ import edu.stanford.nlp.ling.Datum;
public class MedReportReader {
// ACL: Pfad zu Diagnosen, Trainig und Property File
// Pfad zu Diagnosen, Trainig und Property File
final static String diag = "diag.txt";
final static String prop = "icd10.prop";
final static String train = "icd10.train";
......@@ -36,7 +36,7 @@ public class MedReportReader {
public static LinkedHashMap<String, String> map = new LinkedHashMap<String, String>();
// ArrayList mit allen Diagnosen
public static ArrayList<Diagnose> diagnosen = new ArrayList<Diagnose>();
private ArrayList<Diagnose> diagnosen = new ArrayList<Diagnose>();
public static void main(String[] args) throws IOException {
......@@ -77,7 +77,7 @@ public class MedReportReader {
String icd10;
String[] inputArray = { "1", diagnose };
// Test given IPT against Classifier - Could also be: Output
// Test given IPT against Classifier
Datum<String, String> d = cdc.makeDatumFromStrings(inputArray);
score = cla.scoresOf(d).getCount(cla.classOf(d));
icd10 = cla.classOf(d);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment