All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.algolia.search.models.dictionary.DictionaryEntry Maven / Gradle / Ivy

The newest version!
package com.algolia.search.models.dictionary;

import java.util.List;

public interface DictionaryEntry {

  static Stopword stopword(String objectID, String language, String word, String state) {
    return new Stopword(objectID, language, word, state);
  }

  static Plural plural(String objectID, String language, List words) {
    return new Plural(objectID, language, words);
  }

  static Compound compound(
      String objectID, String language, String word, List decomposition) {
    return new Compound(objectID, language, word, decomposition);
  }

  /** Unique identifier of the entry to add or override. */
  String getObjectID();

  /** Language ISO code supported by the dictionary. */
  String getLanguage();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy