by pkd · 10y ago · 0 comments
I was trying to use their Linguistic Analysis API for POS tagging some text, and even for text as short as 500 characters, the API took over a minute to respond. If I bumped it upto a 1000 characters, the API would just error out and give a 500 status code without any explanation after keeping me hanging for over 5 minutes.
The same was the case with the speech to text API and some other ones as well.
As much as I appreciate there being something like this available for public use, these projects are effectively in alpha state and are not yet fit to be used in serious apps.
(Nowadays, many people just use greedy---linear in the number of states---decoding because it rarely is much worse.)
Even a Microsoft Research project has a fairly complex reductions implementation of a POS tagger that is blazingly fast and production ready (learning to search interface). [1]
You could.. if you were crazy. No sane implementation would do that, and POS tagging isn't some brand new thing where people make that kind of mistake.
I run multiple POS taggers at decent scale, and I've never seen anything that slow.
Maybe they hadn't provisioned enough compute that day or something?