Editing explanation and examples, adding senses
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
from model.model import Model
|
||||
from model.sense import Sense
|
||||
from model.translation import Translation
|
||||
from model.example import Example
|
||||
|
||||
@@ -25,3 +25,10 @@ class Sense(Editable):
|
||||
for clusterNum, translation in translations:
|
||||
self.translations[clusterNum - 1].append(translation)
|
||||
|
||||
|
||||
class NewSense(Sense):
|
||||
def __init__(self):
|
||||
self.translations = []
|
||||
self.labels = []
|
||||
self.definition = []
|
||||
self.examples= []
|
||||
|
||||
Reference in New Issue
Block a user