koalanlp / kr.bydelta.koala.hnn / Parser / convert

convert

fun convert(sentence: String): List<Pair<<ERROR CLASS>, String>> (source)

String sentence를 품사 분석하여 분석기가 받아들이는 List<kaist.cilab.jhannanum.common.communication.Sentence>로 변환합니다.

Parameters

sentence - 텍스트에서 변환할 문장입니다.

Since
2.0.0

Return
분석기가 받아들일 수 있는 형태의 데이터입니다.

fun convert(sentence: <ERROR CLASS>): Sentence (source)

분석기의 중간 결과인 sentence를 조합하여 kr.bydelta.koala.data.Sentence 객체로 변환합니다.

Parameters

sentence - 변환할 문장입니다.

Since
2.0.0

Return
kr.bydelta.koala.data.Sentence 객체입니다.

fun convert(sentence: Sentence): <ERROR CLASS> (source)

Sentence sentence를 해체하여 분석기가 받아들이는 kaist.cilab.jhannanum.common.communication.Sentence로 변환합니다.

Parameters

sentence - 변환할 문장입니다.

Since
2.0.0

Return
분석기가 받아들일 수 있는 형태의 데이터입니다.