nlp_architect.solutions.trend_analysis.ui package¶
Submodules¶
nlp_architect.solutions.trend_analysis.ui.main module¶
-
nlp_architect.solutions.trend_analysis.ui.main.
create_graphs
(top_n_phrases, top_n_clusters)[source]¶
-
nlp_architect.solutions.trend_analysis.ui.main.
cut_phrase
(phrase)[source]¶ Cut phrases which exceeds phrase max length to present
-
nlp_architect.solutions.trend_analysis.ui.main.
draw_ui
(top_n_phrases, top_n_clusters, active_area)[source]¶
-
nlp_architect.solutions.trend_analysis.ui.main.
filter_custom_selected_callback
(indices, old, new)[source]¶
-
nlp_architect.solutions.trend_analysis.ui.main.
filter_topic_selected_callback
(indices, old, new)[source]¶
-
nlp_architect.solutions.trend_analysis.ui.main.
get_custom_indices
()[source]¶ Get the custom-table indices of all custom selected phrases
-
nlp_architect.solutions.trend_analysis.ui.main.
get_custom_phrases
()[source]¶ Get a list of all phrases selected by the user for the custom trends graph
-
nlp_architect.solutions.trend_analysis.ui.main.
get_valid_indices
()[source]¶ Get the filter-table indices of all whitelist/valid phrases
-
nlp_architect.solutions.trend_analysis.ui.main.
get_valid_phrases
()[source]¶ Get a list of all whitelist/valid phrases (which were not filtered-out by the user)
-
nlp_architect.solutions.trend_analysis.ui.main.
is_valid_topic
(index)[source]¶ Check if a certain phrase should be presented
-
nlp_architect.solutions.trend_analysis.ui.main.
regenerate_graphs
(top_n_phrases, top_n_clusters)[source]¶
-
nlp_architect.solutions.trend_analysis.ui.main.
reset_filters
()[source]¶ Resets the filter tables (e.g. after clearing search)
-
nlp_architect.solutions.trend_analysis.ui.main.
search
(item)[source]¶ Search an item in the filter tables
-
nlp_architect.solutions.trend_analysis.ui.main.
selected_graph_changed_callback
(active, old, new)[source]¶