Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define a interface to the text extractors #21

Open
jvanz opened this issue Jan 28, 2021 · 0 comments
Open

Define a interface to the text extractors #21

jvanz opened this issue Jan 28, 2021 · 0 comments
Assignees

Comments

@jvanz
Copy link
Contributor

jvanz commented Jan 28, 2021

To make the code clean, easy to maintain and expand, I think we should create interfaces to abstract complex and convoluted tasks. For example, in the current version of the library, we use a Apache Tika jar file to call a process and extract the text. However, we could use an Apache Tika server (#14) to the same job or even a third party tool for that. So, if build a well defined interface the client code which will extract the text does not need to know how it is done. Furthermore, it is easier to integrate with other packages in the future.

@jvanz jvanz self-assigned this Feb 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant