[Biojava-dev] (no subject)

Francois Pepin fpepin at cs.mcgill.ca
Thu Aug 21 14:46:15 EDT 2003


> No, the XML format follows the patterns in the object model.  I think
> you might have been looking at an old DTD that's floating around from
> pre-1.2 versions when symbols did know their tokens.

You are right, I was misreading the file.

> That will certainly help.  At the same time, it might be worth
> adding some extra methods on Alphabet for discovering tokenizations.
> At a minimum:
>
>      public Set<String> getTokenizationNames();
>
> Since at the moment the only way to discover if a tokenization
> exists is to ask for it by name and catch the exception if it's
> not there.  Ugh.

I've been rethinking about it and how about just at "default"
tokenization? That way it's just a matter of having the code knowing where
to look. The implementations decide what the default would be.

Francois



More information about the biojava-dev mailing list