Skip to content
Snippets Groups Projects
Commit 58ee7e1b authored by Renat Bekbolatov's avatar Renat Bekbolatov
Browse files

added MONO_GREEDY

parent d2933826
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,12 @@ mvn package
### Testing
To test decoders:
Monotonic and greedy:
```
mvn test -P MONO_GREEDY
```
Monotonic without language model:
......
......@@ -51,6 +51,40 @@
</dependencies>
<profiles>
<profile>
<id>MONO_GREEDY</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2.1</version>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>java</executable>
<arguments>
<argument>-server</argument>
<argument>-mx2000m</argument>
<argument>-classpath</argument>
<classpath/>
<argument>edu.berkeley.nlp.assignments.decoding.MtDecoderTester</argument>
<argument>-path</argument>
<argument>data</argument>
<argument>-decoderType</argument>
<argument>MONO_GREEDY</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>MONO_NOLM</id>
<build>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment