|
|
@ -17,8 +17,6 @@ class ComponentLexeme(Data):
|
|
|
|
for oth_attr in ["lexical_unit_lexeme_id", "slolex", "kol"]:
|
|
|
|
for oth_attr in ["lexical_unit_lexeme_id", "slolex", "kol"]:
|
|
|
|
if xml.hasAttribute(oth_attr):
|
|
|
|
if xml.hasAttribute(oth_attr):
|
|
|
|
self.other_attributes[oth_attr] = xml.getAttribute(oth_attr)
|
|
|
|
self.other_attributes[oth_attr] = xml.getAttribute(oth_attr)
|
|
|
|
|
|
|
|
|
|
|
|
self.text = self.text.strip()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def isValid(self):
|
|
|
|
def isValid(self):
|
|
|
|
return len(self.text) > 0
|
|
|
|
return len(self.text) > 0
|
|
|
|