mirror of
https://github.com/GrammaticalFramework/comp-syntax-gu-mlt.git
synced 2026-02-09 06:41:07 -07:00
testing with trees without pgf
This commit is contained in:
@@ -78,6 +78,7 @@ def grammar_description(grammar, fundata, d, lang):
|
||||
died = pgf.readExpr(
|
||||
f"DiedSentence ({name(d)}) (YearDate {year(d['deathDate'])})")
|
||||
sentences.append(died)
|
||||
# return ('\n '.join([str(s) for s in sentences]))
|
||||
return ' '.join([lang.linearize(s) + '.' for s in sentences])
|
||||
|
||||
|
||||
@@ -93,3 +94,4 @@ else:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user