tommy.controller.export_controller
Classes
- class tommy.controller.export_controller.ExportController[source]
Bases:
object
Class for exporting graphs and networks to file
- export_document_topics_csv(path: str) list[str] [source]
Export documents related to topics to a CSV file. :param path: Path to the CSV file :return: List of error messages
- export_graphs(path: str) list[str] [source]
” Exports graphs to png file for all available visualizations :param path: path to the folder where to save the png files :return: None
- export_networks(path: str) list[str] [source]
Exports networks to gexf file for all available nx exports :param path: path to the folder where to save the gexf files :return: None
- export_topic_words_csv(path: str) list[str] [source]
Export words related to topics to a CSV file. :param path: Path to the CSV file :return: None
- on_document_topics_calculated(document_topics: list[tuple[Metadata, list[float]]]) None [source]
Update stored topic document correspondence reference. :param document_topics: The list of documents related to topics :return: None
- set_controller_refs(graph_controller: GraphController, topic_modelling_controller: TopicModellingController) None [source]