A robust thresholding technique for generic structured document classifier using ordinal structure fuzzy logic