0
I Use This!
Inactive

Commits : Listings

Analyzed about 8 hours ago. based on code collected about 8 hours ago.
Aug 28, 2024 — Aug 28, 2025
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
lexicalization.py: added realize parameter to lexicalize_keywords(). More... almost 14 years ago
lexicalization.py: added realize parameter to lexicalize_authors, where realize == abstract|lastnames|complete More... almost 14 years ago
lexicalization.py: fixed generation of list w/ more than 2 authors. More... almost 14 years ago
fixed featstruct to conversion. More... almost 14 years ago
hlds.py: fixed diamond2sentence(), which didn't preserve the order of Diamonds. test_keywords() now runs w/out errors. More... almost 14 years ago
lexicalization.py: fixed ordering issues in __gen_enumeration() and __gen_komma_enumeration(). fixed add_mode_suffix(). More... almost 14 years ago
lexicalization.py: __gen_keywords() now adds a mode="NP" to every keyword Diamond. More... almost 14 years ago
hlds.py: removed unused code (already commented out). lexicalization.py: __gen_keywords() now asserts list input. More... almost 14 years ago
database.py: both Results() and get_column() now close the connection to the db after usage. More... almost 14 years ago
lexicalization.py: added parameter mode="NP" to __gen_enumeration() and __gen_komma_enumeration(), which allows to generate different forms of enumeration (NP und NP, N und N etc). More... almost 14 years ago
hlds.py: bugfix: __diamond_fs2xml() did not serialize Diamonds in the right order. More... almost 14 years ago
hlds.py: "mode" attributes don't need a postfix any longer --> removed gen_diamond_ids(), diamond_count(). More... almost 14 years ago
lexicalization.py: test_keywords() now tries to realize keywords as phrases, i.e. "pragmatics, semantics and automata". old test_keywords() code was moved to test_keywords_individually(). More... almost 14 years ago
hlds.py: fixed diamond enumeration by attaching an integer prefix to every nested diamond "mode" identifier. i only changed create_diamond(). convert_diamond_xml2fs() needs fixing, too! More... almost 14 years ago
and __gen_keywords(). __gen_keywords() should only operate on list of strings. More... almost 14 years ago
lexicalization.py: test_keywords() generates all keywords from the db with ccg-realize. added functions lexicalize_keywords() and __gen_keywords() to do so. More... almost 14 years ago
hlds.py: fixed weird etree.tag string comparison bug. More... almost 14 years ago
hlds.py: fixed create_sentence(). can handle several diamond tags with the same "mode" now. fixed parse_sentence(). won't break now, if there's no <target> tag. More... almost 14 years ago
lexicalization.py: fixed bug in realize(). now works with filenames as well. xml_compare.py: added listdir_with_abspath(path, pattern), which lists the absolute path of all files in "path" that match "pattern". added realize_testbed_files(filenames, output_pickle), which realizes a number of HLDS XML files and saves the output in a pickle. More... almost 14 years ago
hlds.py: parse_sentence() now reads target sentence from <target> if available. xml_compare.py: new functions for HLDS XML comparisons. unfinished. More... almost 14 years ago
xml_compare.py commented out unneeded functions/classes. More... almost 14 years ago
hlds.py: create_hlds_testbed() now uses etreeprint() function for its output. added xml_declaration=True to etreeprint() to make its output valid. More... almost 14 years ago
hlds.py: CRITICAL BUG: XML files are encoded in 'UTF-8', not 'utf8'. unfortunately, etree.tostring(..., encoding="UTF-8") doesn't tell you about this. More... almost 14 years ago
xml_compare.py: added compare_xml_files() More... almost 14 years ago
added xml_compare.py from bitbucket.org/formencode More... almost 14 years ago
hlds.py: moved etreeprint() here. debug.py: added code to compare generated and "original" HLDS XML files. More... almost 14 years ago
hlds.py: fixed create_hlds_testbed(). now accepts a single Sentence as input in "test" mode, too. added add_nomprefix() and remove_nomprefix() to help generate substructures in the right order. More... almost 14 years ago
realize() now works for all book titles! More... about 14 years ago
debug.py: enumprint() now handles unicode as well as str items. lexicalization.py: removed umlaut-conversion from __gen_title(). dict.xml: all book titles now use umlauts. More... about 14 years ago
add openccg-jpolibox (grammar) dir to repo More... about 14 years ago