Text this: Identification of wood defect using pattern recognition technique