Github user mjpost commented on the pull request: https://github.com/apache/incubator-joshua/commit/19aadf0e240acb09c5b4336068e6368083f26bef#commitcomment-17620963 In src/joshua/decoder/Decoder.java: In src/joshua/decoder/Decoder.java on line 515: As for using decode() versus decodeAll(): you wouldn't get threading that way, since decode() blocks. Thought you probably have some way of doing this in mind. Do you have some idea of where the entry point is for the API? The way decodeAll works is, you pass it an object that can be iterated over, and as it receives translations, it outputs them. I'm not sure how to do multithreading with the API if the entry point is a blocked call to decode(), but probably there's a standard way of doing this that I don't know about?
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---