linguadoc package

Submodules

linguadoc.gen_doc module

class linguadoc.gen_doc.LinguaDoc(jsonfile, lang)

Bases: object

It is used for docx generation of sentence structure and KG

gen_doc(title, output='result.docx')

Generate docx file :param title: title written in ppt home slide :type title: str :param output: output docx file name :type output: str

linguadoc.lib module

linguadoc.lib.add_bracket(ex)
linguadoc.lib.read_json(jsonfile)
linguadoc.lib.write_json(content, filename)

Module contents