You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@joshua.apache.org by mj...@apache.org on 2016/06/03 18:14:48 UTC

incubator-joshua git commit: Fixed javadoc error

Repository: incubator-joshua
Updated Branches:
  refs/heads/master 9762a484a -> 8ce27c973


Fixed javadoc error


Project: http://git-wip-us.apache.org/repos/asf/incubator-joshua/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-joshua/commit/8ce27c97
Tree: http://git-wip-us.apache.org/repos/asf/incubator-joshua/tree/8ce27c97
Diff: http://git-wip-us.apache.org/repos/asf/incubator-joshua/diff/8ce27c97

Branch: refs/heads/master
Commit: 8ce27c9737795a0870313fbdab3ca046564f4283
Parents: 9762a48
Author: Matt Post <po...@cs.jhu.edu>
Authored: Fri Jun 3 14:14:44 2016 -0400
Committer: Matt Post <po...@cs.jhu.edu>
Committed: Fri Jun 3 14:14:44 2016 -0400

----------------------------------------------------------------------
 src/main/java/org/apache/joshua/decoder/Decoder.java | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/8ce27c97/src/main/java/org/apache/joshua/decoder/Decoder.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/joshua/decoder/Decoder.java b/src/main/java/org/apache/joshua/decoder/Decoder.java
index b57ffe8..088f678 100644
--- a/src/main/java/org/apache/joshua/decoder/Decoder.java
+++ b/src/main/java/org/apache/joshua/decoder/Decoder.java
@@ -23,9 +23,7 @@ import static org.apache.joshua.decoder.ff.FeatureVector.DENSE_FEATURE_NAMES;
 import java.io.BufferedWriter;
 import java.io.File;
 import java.io.IOException;
-import java.io.OutputStream;
 import java.io.FileNotFoundException;
-import java.io.FileWriter;
 import java.lang.reflect.Constructor;
 import java.util.ArrayList;
 import java.util.HashMap;
@@ -38,8 +36,6 @@ import com.google.common.base.Strings;
 
 import org.apache.joshua.corpus.Vocabulary;
 import org.apache.joshua.decoder.ff.FeatureVector;
-import org.apache.joshua.decoder.JoshuaConfiguration.INPUT_TYPE;
-import org.apache.joshua.decoder.JoshuaConfiguration.SERVER_TYPE;
 import org.apache.joshua.decoder.ff.FeatureFunction;
 import org.apache.joshua.decoder.ff.PhraseModel;
 import org.apache.joshua.decoder.ff.StatefulFF;
@@ -422,8 +418,8 @@ public class Decoder {
    * sentences of the request.
    *
    * @param request the populated {@link org.apache.joshua.decoder.io.TranslationRequestStream}
-   * @param out an appropriate {@link java.io.OutputStream} to write results to
    * @throws IOException if there is an error with the input stream or writing the output
+   * @return an iterable, asynchronously-filled list of Translations
    */
   public Translations decodeAll(TranslationRequestStream request) throws IOException {
     Translations translations = new Translations(request);