phyloref / jphyloref

MIT License
0 stars 0 forks source link

Add support for ignoring unnecessary specifiers #5

Open gaurav opened 6 years ago

gaurav commented 6 years ago

Develop a way to ignore unnecessary specifiers when reasoning. The right way to do this will be one of (1) reason with the specifiers, then ignore them if reasoning fails, (2) reason without the specifiers, then test to see if the specifiers apply, and (3) reason both with and without unnecessary specifiers and report both results.

This might be one way to start implementing qualifying phrases -- as unnecessary specifiers! Something to think about.

gaurav commented 5 years ago

All JPhyloRef should do is report errors when something doesn't work -- it'll be up to the Authoring Tool and the Open Tree Resolver to modify the definition and try again. It should however report unmatched specifiers and other stuff.