Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Commit

Permalink
almost got it
Browse files Browse the repository at this point in the history
  • Loading branch information
fulton committed Nov 19, 2019
1 parent ab727f0 commit 73b2113
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/com/andromeda/araserver/util/KeyWord.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import opennlp.tools.parser.ParserModel
import java.io.InputStream


class KeyWord(parseIS:InputStream) {
class KeyWord(var parseIS:InputStream) {
final val parse = parseIS
final val m =ParserModel(parse)
final val parser = ParserFactory.create(m)
Expand All @@ -18,6 +18,9 @@ class KeyWord(parseIS:InputStream) {

return ParserTool.parseLine(mainVal, parser, 1)
}
companion object go{

}


}
Expand Down

0 comments on commit 73b2113

Please sign in to comment.