add fields for Definition class
@@ -6,3 +6,13 @@ from common.types import SerializableEntity
@dataclass(frozen=True)
class Definition(SerializableEntity):
text: str
+ definitions: List[str]
+ " List of definitions, each coming from a different source. "
+ sources: List[str]
+ """
+ List of sources, one per definition. To find the source for a definition, look for the source
+ with the same index as the definition.
+ """
+ val: bool
+
+
