Class MelConcept.Builder

  • Enclosing class:
    MelConcept

    public static class MelConcept.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • ontologyName

        public MelConcept.Builder ontologyName​(String ontologyName)
        Name of the ontology to which the Entity is mapped
        Parameters:
        ontologyName - the value to set
        Returns:
        this builder
      • concepts

        public MelConcept.Builder concepts​(List<MelConceptDetails> concepts)
        This contains the list of matched concepts which are ranked by the relevant score with the input text
        Parameters:
        concepts - the value to set
        Returns:
        this builder