Renaming deinflection parameter term to source
Former-commit-id: 617fa8aee4ee48112f53bf0fafeff7494f5bac41
This commit is contained in:
parent
9ce77c40b5
commit
d9e3e3619e
@ -80,7 +80,7 @@ class Deinflection:
|
||||
if len(self.children) == 0:
|
||||
endpoint = {
|
||||
'root': self.term,
|
||||
'term': self.term,
|
||||
'source': self.term,
|
||||
'rules': [self.rule] if self.rule else list()
|
||||
}
|
||||
|
||||
@ -92,7 +92,7 @@ class Deinflection:
|
||||
if self.rule:
|
||||
path['rules'].append(self.rule)
|
||||
else:
|
||||
path['term'] = self.term
|
||||
path['source'] = self.term
|
||||
paths.append(path)
|
||||
|
||||
return paths
|
||||
|
Loading…
Reference in New Issue
Block a user