Add patent example and related functionality to the dev branch

This pull request contains:
- A working patent example
- Data
- Reference data
- Routine for estimating precision/recall
- A README file for the example itself