Class EntityListDataset.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • referenceExamples

        public EntityListDataset.Builder referenceExamples​(List<String> referenceExamples)
        List of sentences referencing 1 or more entityType matching those defined in the linked entityLists, used to improve accuracy by providing model training context of where/how an entity may appear in a sentence.

        EntityTypes referenced in sentences should be written in all caps surrounded by angled braces (i.e “” if entityType=patient)

        Parameters:
        referenceExamples - the value to set
        Returns:
        this builder