Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/shin285/KOMORAN
Browse files Browse the repository at this point in the history
  • Loading branch information
shin285 committed Oct 31, 2019
2 parents 6834ffd + 77736a3 commit 773bdc1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/kr/co/shineware/nlp/komoran/core/Komoran.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,13 @@ public Komoran(DEFAULT_MODEL modelType) {

String delimiter = "/";
InputStream posTableFile =
this.getResourceStream(String.join(delimiter, modelPath, FILENAME.POS_TABLE));
this.getResourceStream(modelPath + delimiter + FILENAME.POS_TABLE);
InputStream irrModelFile =
this.getResourceStream(String.join(delimiter, modelPath, FILENAME.IRREGULAR_MODEL));
this.getResourceStream(modelPath + delimiter + FILENAME.IRREGULAR_MODEL);
InputStream observationFile =
this.getResourceStream(String.join(delimiter, modelPath, FILENAME.OBSERVATION));
this.getResourceStream(modelPath + delimiter + FILENAME.OBSERVATION);
InputStream transitionFile =
this.getResourceStream(String.join(delimiter, modelPath, FILENAME.TRANSITION));
this.getResourceStream(modelPath + delimiter + FILENAME.TRANSITION);

this.resources.loadPosTable(posTableFile);
this.resources.loadIrregular(irrModelFile);
Expand Down

0 comments on commit 773bdc1

Please sign in to comment.