Classification of handprinted Kanji characters by the structured segment matching method