Development and Application of Category Systems for Text Research