Skip to content

Commit

Permalink
Adding corpus tests, which take roughly 35 minutes to run, but which …
Browse files Browse the repository at this point in the history
…pass
  • Loading branch information
U-osiris\joeo committed Jan 31, 2012
1 parent 55c250e commit f82f266
Show file tree
Hide file tree
Showing 21 changed files with 76 additions and 37 deletions.
91 changes: 54 additions & 37 deletions bayes/pom.xml
Original file line number Diff line number Diff line change
@@ -1,37 +1,54 @@
<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>ml-parent</artifactId>
<groupId>com.enigmastation.ml</groupId>
<version>4.0-SNAPSHOT</version>
</parent>
<groupId>com.enigmastation.ml</groupId>
<artifactId>bayes</artifactId>
<version>4.0-SNAPSHOT</version>
<name>bayes</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.3.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-analyzers</artifactId>
<version>3.4.0</version>
</dependency>
<dependency>
<groupId>${parent.groupId}</groupId>
<artifactId>common</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</project>
<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>ml-parent</artifactId>
<groupId>com.enigmastation.ml</groupId>
<version>4.0-SNAPSHOT</version>
</parent>
<groupId>com.enigmastation.ml</groupId>
<artifactId>bayes</artifactId>
<version>4.0-SNAPSHOT</version>
<name>bayes</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<!-- testing dependencies -->
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.3.1</version>
<scope>test</scope>
</dependency>
<!-- I like javatar's tar archive much better than commons-compress' -->
<dependency>
<groupId>javatar</groupId>
<artifactId>javatar</artifactId>
<version>[2.5,)</version>
<scope>test</scope>
</dependency>
<!-- however, commons-compress has a much more clear BZip2 inputstream than ant does-->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
<version>1.2</version>
<scope>test</scope>
</dependency>

<!-- runtime dependencies -->
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-analyzers</artifactId>
<version>3.4.0</version>
</dependency>
<dependency>
<groupId>${parent.groupId}</groupId>
<artifactId>common</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package com.enigmastation.ml.bayes.impl;

/**
* Created by IntelliJ IDEA.
* User: joeo
* Date: 1/31/12
* Time: 9:26 AM
* To change this template use File | Settings | File Templates.
*/
public class ThreadLocalMemoizer {
}
11 changes: 11 additions & 0 deletions bayes/src/test/java/com/enigmastation/ml/bayes/CorpusTest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package com.enigmastation.ml.bayes;

/**
* Created by IntelliJ IDEA.
* User: joeo
* Date: 1/31/12
* Time: 6:01 AM
* To change this template use File | Settings | File Templates.
*/
public class CorpusTest {
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit f82f266

Please sign in to comment.