Skip to content

Commit e152a7c

Browse files
c0d3dseth-mg
authored andcommitted
TEJ-1140: Add "modelType" option for entities. (#120)
* TEJ-1140: Add "modelType" option for entities. * TEJ-1140: Bump open source parent * [maven-release-plugin] prepare release rosette-api-java-binding-1.9.100 * [maven-release-plugin] prepare for next development iteration * TEJ-1140 bump parent to 1.1.9 * [maven-release-plugin] prepare release rosette-api-java-binding-1.9.102 * [maven-release-plugin] prepare for next development iteration
1 parent b138d73 commit e152a7c

File tree

9 files changed

+17
-16
lines changed

9 files changed

+17
-16
lines changed

annotations/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<groupId>com.basistech.rosette</groupId>
2121
<artifactId>rosette-api-java-binding</artifactId>
22-
<version>1.9.102-SNAPSHOT</version>
22+
<version>1.9.103-SNAPSHOT</version>
2323
</parent>
2424
<artifactId>rosette-api-annotations</artifactId>
2525
<name>rosette-api-annotations</name>

api/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<groupId>com.basistech.rosette</groupId>
2121
<artifactId>rosette-api-java-binding</artifactId>
22-
<version>1.9.102-SNAPSHOT</version>
22+
<version>1.9.103-SNAPSHOT</version>
2323
</parent>
2424
<artifactId>rosette-api</artifactId>
2525
<name>rosette-api</name>

common/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<groupId>com.basistech.rosette</groupId>
2121
<artifactId>rosette-api-java-binding</artifactId>
22-
<version>1.9.102-SNAPSHOT</version>
22+
<version>1.9.103-SNAPSHOT</version>
2323
</parent>
2424
<artifactId>rosette-api-common</artifactId>
2525
<name>rosette-api-common</name>

examples/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>com.basistech.rosette</groupId>
2222
<artifactId>rosette-api-java-binding</artifactId>
23-
<version>1.9.102-SNAPSHOT</version>
23+
<version>1.9.103-SNAPSHOT</version>
2424
</parent>
2525
<groupId>com.basistech.rosette</groupId>
2626
<artifactId>rosette-api-examples</artifactId>

json/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>com.basistech.rosette</groupId>
2222
<artifactId>rosette-api-java-binding</artifactId>
23-
<version>1.9.102-SNAPSHOT</version>
23+
<version>1.9.103-SNAPSHOT</version>
2424
</parent>
2525
<artifactId>rosette-api-json</artifactId>
2626
<name>rosette-api-json</name>

model/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<groupId>com.basistech.rosette</groupId>
2121
<artifactId>rosette-api-java-binding</artifactId>
22-
<version>1.9.102-SNAPSHOT</version>
22+
<version>1.9.103-SNAPSHOT</version>
2323
</parent>
2424
<artifactId>rosette-api-model</artifactId>
2525
<name>rosette-api-model</name>

model/src/main/java/com/basistech/rosette/apimodel/EntitiesOptions.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ public class EntitiesOptions extends Options {
3434
.calculateConfidence(false)
3535
.calculateSalience(false)
3636
.linkEntities(true)
37+
.modelType("statistical")
3738
.build();
3839

3940
/**
@@ -50,4 +51,9 @@ public class EntitiesOptions extends Options {
5051
* @return the linkEntities flag.
5152
*/
5253
private final Boolean linkEntities;
54+
55+
/**
56+
* @return the modelType to use.
57+
*/
58+
private final String modelType;
5359
}

pom.xml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
<modelVersion>4.0.0</modelVersion>
1919
<groupId>com.basistech.rosette</groupId>
2020
<artifactId>rosette-api-java-binding</artifactId>
21-
<version>1.9.102-SNAPSHOT</version>
21+
<version>1.9.103-SNAPSHOT</version>
2222
<parent>
2323
<artifactId>open-source-parent</artifactId>
2424
<groupId>com.basistech</groupId>
25-
<version>1.2.0</version>
25+
<version>1.1.9</version>
2626
<relativePath />
2727
</parent>
2828
<packaging>pom</packaging>
@@ -74,17 +74,12 @@
7474
<dependency>
7575
<groupId>com.basistech</groupId>
7676
<artifactId>adm-model</artifactId>
77-
<version>2.4.3</version>
77+
<version>2.4.400</version>
7878
</dependency>
7979
<dependency>
8080
<groupId>com.basistech</groupId>
8181
<artifactId>adm-json</artifactId>
82-
<version>2.4.3</version>
83-
</dependency>
84-
<dependency>
85-
<groupId>com.google.guava</groupId>
86-
<artifactId>guava</artifactId>
87-
<version>18.0</version>
82+
<version>2.4.400</version>
8883
</dependency>
8984
</dependencies>
9085
</dependencyManagement>

release/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<groupId>com.basistech.rosette</groupId>
2121
<artifactId>rosette-api-java-binding</artifactId>
22-
<version>1.9.102-SNAPSHOT</version>
22+
<version>1.9.103-SNAPSHOT</version>
2323
</parent>
2424
<groupId>com.basistech.rosette</groupId>
2525
<artifactId>rosette-api-release</artifactId>

0 commit comments

Comments
 (0)