check hyphenator input type