String[] keyText;
String[] templates;
RelationshipType relationship;
int targetOffset;
SynsetType type;
String sourceTarget;
int sourceWord, targetWord;
SynsetPointer pointer;
WordSensePointer sensePointer;
String nextToken;
String frameText;
Synset synset;
StringTokenizer tokenizer = new StringTokenizer(data, FIELD_DELIMITER);
// Synset offset (e.g., "06550953"); not used.
int offset = Integer.parseInt(tokenizer.nextToken());
// Lexical file number (e.g, "10"); also not used.
int lexicalFile = Integer.parseInt(tokenizer.nextToken());
// Synset type (e.g., "n").
char synsetTypeCode = tokenizer.nextToken().charAt(0);
// Convert the category type code and create a synset instance
SynsetType synsetType = SynsetTypeConverter.getType(synsetTypeCode);
// Word form count (e.g., "2").
int wordCount = Integer.parseInt(tokenizer.nextToken(), HEX);
senseKeys = new SenseKey[wordCount];
SampleIndexFactory indexFactory = SampleIndexFactory.getInstance();
SampleTemplateFactory templateFactory =