[tools] add an additional option to make libpinyin life easier.