The HMM package includes the classes for Hidden Markov Models, and part-of-speech and name taggers implemented using HMMs.  A separate description is available of the overall structure and external representation of these models, provided for those who wish to modify the models.