Joshua
open source statistical hierarchical phrase-based machine translation system
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
joshua.decoder.Decoder.RequestHandler Class Reference
Collaboration diagram for joshua.decoder.Decoder.RequestHandler:
[legend]

List of all members.

Public Member Functions

void run ()

Package Functions

 RequestHandler (TranslationRequest request, Translations response)

Private Attributes

final TranslationRequest request
final Translations response

Detailed Description

This class is responsible for getting sentences from the TranslationRequest and procuring a DecoderThreadRunner to translate it. Each call to decodeAll(TranslationRequest) launches a thread that will read the request's sentences, obtain a DecoderThread to translate them, and then place the Translation in the appropriate place.

Author:
Matt Post post@.nosp@m.cs.j.nosp@m.hu.ed.nosp@m.u

Constructor & Destructor Documentation


Member Function Documentation

Here is the call graph for this function:


Member Data Documentation