0
I Use This!
Inactive

Commits : Listings

Analyzed about 11 hours ago. based on code collected about 11 hours ago.
Aug 22, 2024 — Aug 22, 2025
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
added insert_subdiamond() method to Diamond More... almost 14 years ago
lexicalize_keywords() now produces sentences with "behandeln", "beschreiben" or "eingehen auf" added change_mode() method to Diamond More... almost 14 years ago
fixed prepend_subdiamond(). improved lexicalize_titles() with it. More... almost 14 years ago
added prepend_subdiamond() method to C{Diamond} fixed test_pages() refactored last_diamond_index() More... almost 14 years ago
refactoring: turned create_diamond() method into a function(), used it everywhere. saving lots of lines. More... almost 14 years ago
using gen_num(int) abstraction in several functions: gen_abstract_title(), __gen_abstract_author(), __gen_abstract_keywords(), __gen_keywords(), gen_personal_pronoun(). More... almost 14 years ago
gen_num() now accepts integers as input, where i = 1 generates "singular" and i > 1 generates "plural". More... almost 14 years ago
refactored __gen_abstract_author(). added gen_gender(). More... almost 14 years ago
refactored lexicalize_authors(). More... almost 14 years ago
test_authors() now test last name only generation as well. More... almost 14 years ago
added test_pages(). More... almost 14 years ago
improved test_titles() output w/ printeach(). More... almost 14 years ago
moved test_authors() to lexicalization_test(). improved its output format. More... almost 14 years ago
moved test_keywords() to lexicalization_test. improved its output format. More... almost 14 years ago
added finally-clause to realize(): always return to current dir. More... almost 14 years ago
lexicalization.py: possessive form can be only realized with one author. grammar doesn't understand ((Hopcroft and Ullmans) Buch), but rather ((Hopcroft) und (Ullmans Buch)). More... almost 14 years ago
outsourced test_titles() to lexicalization_test.py More... almost 14 years ago
lexicalization.py: lexicalize_titles() now abstract w/ authors, e.g. "Ronald Haussers Buch", "das Buch von Noam Chomsky". More... almost 14 years ago
lexicalization.py: fixed test_titles() obviously, random.choice() must not select "random". More... almost 14 years ago
database.py: removed side effects from get_column(). function now only returns a list of items in the given column, but doesn't print all available columns any longer. More... almost 14 years ago
lexicalization.py: added lexicalize_pages(). so far, it generates "$title hat einen Umfang von $pages Seiten". More... almost 14 years ago
refactored realize() by outsourcing __realize_from_file(), __realize_from_sentence_fs() and __parse_ccg_output(). More... almost 14 years ago
lexicalization.py: refactored test_authors() More... almost 14 years ago
lexicalization.py: refactored test_keywords() More... almost 14 years ago
lexicalization.py: refactored lexicalize_keywords() More... almost 14 years ago
hlds.py: new method append_subdiamond() in class Diamond. code was outsourced from lexicalize_keywords(). More... almost 14 years ago
lexicalization.py: added gen_personal_pronoun(), which is used by lexicalization_titles() to produce "es" and "sie" as alternatives to "das Buch" / "die Bücher" More... almost 14 years ago
lexicalization.py: switched __gen_abstract_title order to NUM, ART (identical to tccg output). More... almost 14 years ago
hlds.py: outsourced __determine_nom_prefix() from add_nom_prefixes(). added rule for <prop>s that describe numbers. More... almost 14 years ago
lexicalization.py: lexicalize_title() --> working lexicalize_titles(). added test_titles(). More... almost 14 years ago