Function giving order in which information must be written in ODT and mapping between LMF representation and ODT (output)
Function to convert LMF lexical entry information to be written into ODT commands.
- Parameters
-
lexicon | The Lexicon LMF instance to display. |
document | The ODT document to fill in. |
items | Lambda function giving the item to sort. Default value is 'lambda lexical_entry: lexical_entry.get_lexeme()', which means that the items to sort are lexemes. |
sort_order | Python list. Default value is 'None', which means that the document output is alphabetically ordered. |
paradigms | A boolean value to introduce paradigms in document or not. |
reverse | A boolean value to set if a reverse dictionary is wanted. |
Definition at line 8 of file odt.py.