Moved a few other views and some bugfixes from this refactoring
This commit is contained in:
@@ -3,7 +3,10 @@ from model.data import Data
|
||||
class ComponentLexeme(Data):
|
||||
def __init__(self, xml):
|
||||
self.other_attributes = {}
|
||||
|
||||
self.text = ""
|
||||
self.role = ""
|
||||
|
||||
def import_xml(self, xml):
|
||||
if xml.nodeName == "#text":
|
||||
self.text = xml.data
|
||||
self.role = None
|
||||
|
||||
Reference in New Issue
Block a user