Using Fuzzy Grammars for the Evaluation of SGML-based Documents