Skip to content

Commit 96cbecb

Browse files
committed
ETROG-2928: Add disambiguator type option for RBL
1 parent 6f3ef3d commit 96cbecb

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/*
2+
* Copyright 2018 Basis Technology Corp.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
package com.basistech.rosette.apimodel;
18+
19+
/**
20+
* A type of disambiguator.
21+
*/
22+
public enum DisambiguatorType {
23+
DICTIONARY,
24+
DNN,
25+
/**/;
26+
}

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,9 @@ public class MorphologyOptions extends Options {
5454
* @return the model type
5555
*/
5656
private final MorphologyModelType modelType;
57+
58+
/**
59+
* @return the disambiguator type
60+
*/
61+
private final DisambiguatorType disambiguatorType;
5762
}

0 commit comments

Comments
 (0)