Method

예제의 파라미터 값을 변경해보세요.
기본적으로 지원하는 조사는 은/는, 이/가, 와/과, 을/를, 나/이나, 로/으로 입니다.

put( text, type, special )


단어에 맞는 조사를 적용한 결과를 반환

Parameters

// 기본 지원 조사
postposition.put( "", "" )

결과 :

// 사용자 지정 조사
postposition.put( "", "", "" )

결과 :

pick( text, type, special )


단어에 맞는 조사를 반환

Parameters

// 기본 지원 조사
postposition.pick( "", "" )

결과 :

// 사용자 지정 조사
postposition.pick( "", "", "" )

결과 :

parse( sentence )


문장에서 패턴을 찾아 조사를 적용 (패턴 : '단어[종성이 없을때 조사|종성이 있을 때 조사]' 혹은 '단어[조사*]')

Parameters

기본 지원 조사

postposition.parse( "" )

결과 :

사용자 지정 조사

postposition.parse( "" )

결과 :

fix( type, special )


지정한 조사를 처리하는 함수 반환

Parameters

// 기본 지원 조사
var pp = postposition.fix( "" );

pp( "" )

결과 :

// 사용자 지정 조사
var pp = postposition.fix( "", "" );

pp( "" )

결과 :

check( text, type )


종성이 있는지 여부 확인

Parameters

postposition.check( "" )

결과 :

// '로/으로'일 때 종성이 있는지 여부
postposition.check( "", "" )

결과 :