Function tossicat::postfix

source ·
pub fn postfix(word: &str, tossi: &str) -> Result<String, ValueError>
Expand description

입력된 토시를 같이 입력된 단어에 맞게 변환해, 입력된 단어와 합쳐 반환하는 함수

아래와 같은 형식으로 입력된 것 중 두 번째로 입력된 토시를 첫 번째로 입력된 단어에 맞쳐 적절하게 변형해 입력된 단어와 합쳐서 반환하는 함수

use tossicat::postfix;
postfix("집", "으로");
postfix("집", "로");
postfix("집", "(으)로");