Skip to contents

App

run_app()
Launch and browse the TextAnalysisR app
import_files()
Process Files

Preprocessing

unite_cols()
Unite Text Columns
prep_texts()
Preprocess Text Data
detect_multi_words()
Detect Multi-Word Expressions
get_available_dfm()
Get Available Document-Feature Matrix with Fallback

Lexical Analysis

extract_keywords_keyness()
Extract Keywords Using Statistical Keyness
extract_keywords_tfidf()
Extract Keywords Using TF-IDF
plot_keyword_comparison()
Plot Keyword Comparison (TF-IDF vs Frequency)
plot_tfidf_keywords()
Plot TF-IDF Keywords
plot_keyness_keywords()
Plot Statistical Keyness
plot_word_frequency()
Plot Word Frequency
calculate_word_frequency()
Analyze and Visualize Word Frequencies Across a Continuous Variable
plot_readability_distribution()
Plot Readability Distribution
plot_readability_by_group()
Plot Readability by Group
plot_top_readability_documents()
Plot Top Documents by Readability
plot_lexical_diversity_distribution()
Plot Lexical Diversity Distribution
calculate_text_readability()
Calculate Text Readability
lexical_frequency_analysis()
Lexical Frequency Analysis
lexical_diversity_analysis()
Lexical Diversity Analysis

Sentiment Analysis

analyze_sentiment()
Analyze Text Sentiment
sentiment_lexicon_analysis()
Analyze Sentiment Using Tidytext Lexicons
sentiment_embedding_analysis()
Embedding-based Sentiment Analysis
plot_sentiment_by_category()
Plot Sentiment by Category
plot_sentiment_distribution()
Plot Sentiment Distribution
plot_emotion_radar()
Plot Emotion Radar Chart
plot_document_sentiment_trajectory()
Plot Document Sentiment Trajectory
plot_top_sentiment_documents()
Plot Top Documents by Sentiment Score

Network Analysis

plot_cooccurrence_network()
Analyze and Visualize Word Co-occurrence Networks
plot_correlation_network()
Analyze and Visualize Word Correlation Networks
semantic_cooccurrence_network()
Compute Word Co-occurrence Network
semantic_correlation_network()
Compute Word Correlation Network

Topic Modeling

find_optimal_k()
Find Optimal Number of Topics
fit_embedding_topics()
Embedding-based Topic Modeling
fit_hybrid_model()
Fit Hybrid Topic Model
fit_semantic_model()
Fit Semantic Model
fit_temporal_model()
Fit Temporal Topic Model
generate_topic_labels()
Generate Topic Labels Using OpenAI's API
generate_topic_keywords()
Generate Topic Keywords
get_topic_terms()
Select Top Terms for Each Topic
calculate_topic_probability()
Calculate Topic Probabilities
identify_topic_trends()
Identify Topic Trends
plot_topic_probability()
Plot Per-Document Per-Topic Probabilities
plot_topic_effects_categorical()
Plot Topic Effects for Categorical Variables
plot_topic_effects_continuous()
Plot Topic Effects for Continuous Variables
plot_word_probability()
Plot Word Probabilities by Topic
run_text_workflow()
Complete Text Mining Workflow

Semantic Analysis

generate_embeddings()
Generate Embeddings
reduce_dimensions()
Dimensionality Reduction Analysis
calculate_document_similarity()
Calculate Document Similarity
calculate_cosine_similarity()
Calculate Cosine Similarity Matrix
semantic_similarity_analysis()
Semantic Similarity Analysis
semantic_document_clustering()
Semantic Document Clustering
cluster_embeddings()
Embedding-based Document Clustering
analyze_document_clustering()
Analyze Document Clustering
export_document_clustering()
Export Document Clustering Analysis
generate_cluster_labels()
Generate Cluster Labels with AI
generate_cluster_labels_auto()
Generate Cluster Labels
temporal_semantic_analysis()
Temporal Semantic Analysis
analyze_semantic_evolution()
Analyze Semantic Evolution
plot_semantic_viz()
Plot Semantic Analysis Visualization

PDF Processing

extract_text_from_pdf()
Extract Text from PDF
extract_text_from_pdf_py()
Extract Text from PDF using Python
extract_tables_from_pdf_py()
Extract Tables from PDF using Python
extract_pdf_multimodal()
Extract PDF with Multimodal Analysis
extract_pdf_smart()
Smart PDF Extraction with Auto-Detection
process_pdf_file()
Process PDF File
process_pdf_file_py()
Process PDF File using Python
process_pdf_unified()
Process PDF File (Unified Entry Point)
detect_pdf_content_type()
Detect PDF Content Type
detect_pdf_content_type_py()
Detect PDF Content Type using Python

AI Integration

check_ollama()
Check if Ollama is Available
list_ollama_models()
List Available Ollama Models
call_ollama()
Call Ollama for Text Generation
check_vision_models()
Check Vision Model Availability
get_recommended_ollama_model()
Get Recommended Ollama Model
init_langgraph()
Initialize LangGraph for Current Session
generate_topic_labels_langgraph()
Generate Topic Labels with LLM Assistance
validate_topic_labels_langgraph()
Validate User-Selected Topic Labels
run_rag_search()
RAG-Enhanced Semantic Search
format_label_candidates()
Format Label Candidates for Display
create_label_selection_data()
Create Label Selection UI Data
setup_python_env()
Setup Python Environment
check_python_env()
Check Python Environment Status
check_multimodal_prerequisites()
Check Multimodal Prerequisites

Data

SpecialEduTech
Special education technology bibliographic data
acronym
Acronym List
stm_15
An example structure of a structural topic model
dictionary_list_1
Dictionary List 1
dictionary_list_2
Dictionary List 2
stopwords_list
Stopwords List

Shiny Helpers

show_completion_notification()
Show Completion Notification
show_dfm_instructions_modal()
Show DFM Setup Instructions Modal
show_dfm_required_modal()
Show DFM Requirement Modal
show_error_notification()
Show Error Notification
show_guide_modal()
Show Guide Modal Dialog from HTML File
show_loading_notification()
Show Loading/Progress Notification
show_no_dfm_notification()
Show No DFM Notification
show_no_feature_matrix_notification()
Show Feature Matrix Notification
show_preprocessing_required_modal()
Show Generic Preprocessing Required Modal
show_preprocessing_steps_modal()
Show Preprocessing Steps Modal
show_unite_texts_required_notification()
Show Unite Texts Required Notification
show_warning_notification()
Show Warning Notification
show_web_banner()
Show Web Deployment Banner
remove_notification_by_id()
Remove Notification by ID
get_dfm_setup_instructions()
Generate DFM Setup Instructions Text
check_web_deployment()
Check Deployment Environment
check_feature()
Check Feature Status
get_feature_status()
Get Feature Status
require_feature()
Require Feature
plot_error()
Create Error Plot for Plotly
apply_standard_plotly_layout()
Apply Standard Plotly Layout
create_standard_ggplot_theme()
Create Standard ggplot2 Theme
get_plotly_hover_config()
Get Standard Plotly Hover Label Configuration
get_sentiment_color()
Generate Sentiment Color Gradient
get_sentiment_colors()
Get Sentiment Color Palette
create_message_table()
Create Message Data Table
create_analysis_datatable()
Create Formatted Analysis Data Table

Security & Accessibility

validate_file_upload()
Cybersecurity Utility Functions
sanitize_text_input()
Sanitize Text Input
check_rate_limit()
Check Rate Limit
log_security_event()
Log Security Event
validate_api_key()
Validate OpenAI API Key Format
calculate_contrast_ratio()
Web Accessibility Utility Functions
check_wcag_contrast()
Check WCAG Contrast Compliance
generate_aria_label()
Generate ARIA Label
create_sr_text()
Create Screen Reader Text
validate_keyboard_navigation()
Validate Keyboard Navigation
check_alt_text()
Check Alt Text Presence

Internal

validate_cross_models()
Cross-Analysis Validation
validate_semantic_coherence()
Validate Semantic Coherence
validate_topic_labels_langgraph()
Validate User-Selected Topic Labels
calculate_assignment_consistency()
Calculate Assignment Consistency
calculate_cosine_similarity()
Calculate Cosine Similarity Matrix
calculate_document_similarity()
Calculate Document Similarity
calculate_keyword_stability()
Calculate Keyword Stability
calculate_semantic_drift()
Calculate Semantic Drift
calculate_similarity_robust()
Calculate Similarity Robust
calculate_text_readability()
Calculate Text Readability
calculate_topic_probability()
Calculate Topic Probabilities
calculate_topic_stability()
Calculate Topic Stability
calculate_word_frequency()
Analyze and Visualize Word Frequencies Across a Continuous Variable
run_app()
Launch and browse the TextAnalysisR app
run_neural_topics_internal()
Neural Topic Modeling
run_rag_search()
RAG-Enhanced Semantic Search
run_temporal_topics_internal()
Temporal Dynamic Topic Modeling
run_text_workflow()
Complete Text Mining Workflow
cross_analysis_validation()
Cross Analysis Validation
find_topic_matches()
Find Similar Topics
analyze_topic_evolution()
Analyze Semantic Evolution
generate_semantic_topic_keywords()
Generate Semantic Topic Keywords (c-TF-IDF)
TextAnalysisR TextAnalysisR-package
TextAnalysisR: Text Mining Workflow Tool
`%>%`
Pipe operator