a method and apparatus for determining word frequency from a document without first converting the document to character codes . the method includes morphological image processing to determine word unit characteristics for placement into equivalence classes utilizing non - content based information . word shape representations are preferably determined and compared to define equivalent word units .