Hi,

I've created a custom alphabet and I would like to use it to parse a file.
After defining the symbols in the alphabet I do the following:

SymbolTokenization parser = alpha.getTokenization("token");

('alpha being the custom alphabet'). However I get the following error:

"BioException: There is no tokenization 'token' defined in alphabet Variable
Modifications"

I understand this to mean that I have to populate the new tokenization
appropriately because this is a new alphabet. However, I cannot find any
examples that show how to achieve this. Can anyone help?

- Salman
_______________________________________________
Biojava-l mailing list  -  [email protected]
http://lists.open-bio.org/mailman/listinfo/biojava-l

Reply via email to