Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ public final class CategoriesOptions {
private Boolean explain;
private Integer numCategories;

/**
* Create a set of categorization options with default values.
* Note that {@code null} is used to represent defaults.
*/
public CategoriesOptions() {
//
}

/**
* constructor for {@code CategoriesOptions}
* @param model model to use for categorization
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,14 @@ public final class EntitiesOptions {
private Boolean allowPartialGazetteerMatches;
private Boolean redactorPreferLength;

/**
* Create a set of entity extraction options with default values.
* Note that {@code null} is used to represent defaults.
*/
public EntitiesOptions() {
//
}

/**
* Constructor for {@code EntitiesOptions}
* @param resolveNamedEntities resolve in-document named entities
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@ public final class LanguageOptions {
private String encodingHint;
private Double encodingHintWeight;
private Set<LanguageWeight> languageWeightAdjustments;

/**
* Create a set of language detection options with default values.
* Note that {@code null} is used to represent defaults.
*/
public LanguageOptions() {
}

/**
* constructor for {@code LanguageOptions}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ public final class MorphologyOptions {
private Boolean fstTokenize;
private String defaultTokenizationLanguage;

/**
* Create a set of morphology options with default values.
* Note that {@code null} is used to represent defaults.
*/
public MorphologyOptions() {
//
}

/**
* constructor for {@code MorphologyOptions}
* @param disambiguate whether the linguistics analysis should disambiguate results
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ public final class RelationshipOptions {

private AccuracyMode accuracyMode;

/**
* Create a set of relationship extraction options with default values.
* Note that {@code null} is used to represent defaults.
*/
public RelationshipOptions() {
//
}

/**
* constructor for {@code RelationshipOptions}
* @param accuracyMode accuracyMode to use for relationship extraction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ public final class SentimentOptions {
private SentimentModel model;
private Boolean explain;

/**
* Create a set of sentiment analysis options with default values.
* Note that {@code null} is used to represent defaults.
*/
public SentimentOptions() {
//
}

/**
* constructor for {@code SentimentOptions}
* @param model model to use for sentiment analysis
Expand Down