ukwa / webarchive-discovery

WARC and ARC indexing and discovery tools.
https://github.com/ukwa/webarchive-discovery/wiki
117 stars 25 forks source link

Use service loaders and refactor code for clarity #189

Closed anjackson closed 6 years ago

anjackson commented 6 years ago

This set of changes separates out dependencies and uses the java.util.ServiceLoader pattern to make run-time assembly possible. This allows the 'heavyweight' modules (e.g. natural language processing stuff) to be re-instated.

Some core code has also been refactored to attempt to make the code clearer.

Resolves #183 and #163, and some further work on #182.