github.com/weaviate/weaviate@v1.24.6/modules/ner-transformers/additional/models/models.go (about) 1 // _ _ 2 // __ _____ __ ___ ___ __ _| |_ ___ 3 // \ \ /\ / / _ \/ _` \ \ / / |/ _` | __/ _ \ 4 // \ V V / __/ (_| |\ V /| | (_| | || __/ 5 // \_/\_/ \___|\__,_| \_/ |_|\__,_|\__\___| 6 // 7 // Copyright © 2016 - 2024 Weaviate B.V. All rights reserved. 8 // 9 // CONTACT: hello@weaviate.io 10 // 11 12 package models 13 14 // Tokens used in NER module to represent 15 // the found entities in a given string property value 16 type Token struct { 17 Property string `json:"property,omitempty"` 18 Entity string `json:"entity,omitempty"` 19 Certainty float64 `json:"certainty,omitempty"` 20 Word string `json:"word,omitempty"` 21 StartPosition int `json:"startPosition,omitempty"` 22 EndPosition int `json:"endPosition,omitempty"` 23 }