private void transform() { for (int i = 1; i <= 5; i++) { for (int j = 1; j <= 30; j++) strings.put( "" + i + "signature" + j, algorithm.levenshtein.Utils.transformWithProcessing( new RecordParser("records/" + i + "/signature/signature" + j + ".txt").parse(), false, false, false, false)); System.out.println(i + " transformed"); } System.out.println(strings.get("1signature1")); }
private void transform() { for (int i = 1; i <= 10; i++) { for (int j = 0; j < 10; j++) for (int k = 1; k <= 10; k++) { // strings.put(""+i+Utils.intToDigit(j)+k, levenshtein.Utils.transform(new // RecordParser("records\\"+i+"\\"+Utils.intToDigit(j)+"\\"+Utils.intToDigit(j)+k+".txt").parse())); strings.put( "" + i + Utils.intToDigit(j) + k, algorithm.levenshtein.Utils.transform( new RecordParser( "records/" + i + "/" + Utils.intToDigit(j) + "/" + Utils.intToDigit(j) + k + ".txt") .parse())); } System.out.println(i + " transformed"); } }