|
|
|
@ -194,8 +194,11 @@ class LexisCR(ComponentRepresentation):
|
|
|
|
|
|
|
|
|
|
class WordFormAllCR(ComponentRepresentation):
|
|
|
|
|
def _render(self):
|
|
|
|
|
txt = "/".join(set([w.text for w in set(self.words)])) if len(self.words) > 0 else None
|
|
|
|
|
return txt
|
|
|
|
|
if len(self.words) == 0:
|
|
|
|
|
return None
|
|
|
|
|
else:
|
|
|
|
|
forms = [w.text.lower() for w in self.words]
|
|
|
|
|
return "/".join(set(forms))
|
|
|
|
|
|
|
|
|
|
class WordFormAnyCR(ComponentRepresentation):
|
|
|
|
|
def _render(self):
|
|
|
|
|