Here's my attempt at providing a sample POS dictionary file, as well as test code for programmatic usage, for both reading in and writing back the dictionary and using it to training a POS tagger. See the attached files for details.
The XML structure of a POS dictionary is:
<?xml version="1.0" encoding="UTF-8"?>
<entry tags="tag1 tag2">
Hope that helps.