Tika-translate doesn't work in the iPReS Project
<https://github.com/lewismc/iPReS> when attempting to utilize the
MicrosoftTranslator.  I have configured the project to use the same
resources file structure as the Tika project, and I have verified that the
client-id and client-secret match the account I have set up with Microsoft.

I have verified that this line
<https://github.com/lewismc/iPReS/blob/master/app/src/app/core.clj#L142> of
code is always called when making a new request, and that Tika itself is
indeed being called into - but nothing is being translated.  My hypothesis
is that Tika cannot recognize the config file I have, even though it
matches the path in the project itself.  This can be verified by running
the project.

I propose expanding the API for the Microsoft and Google Translators to
accept configuration details as parameters.  This eases development for the
iPReS project by allowing us to be responsible for our own configuration
details, and allows the use of these translators in the REPL, allowing for
more interactive development.

- Phillip

Reply via email to