9"""! @brief Function to convert LMF lexical entry information to be written into ODT commands.
10 @param lexicon The Lexicon LMF instance to display.
11 @param document The ODT document to fill in.
12 @param 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.
13 @param sort_order Python list. Default value is 'None', which means that the document output is alphabetically ordered.
14 @param paradigms A boolean value to introduce paradigms in document or not.
15 @param reverse A boolean value to set if a reverse dictionary is wanted.