Utility functions for text mining

add_shape_circle2 | Add additional igraph vertex shape |

attr_DT | attr_DT: Workaround to use data.table attributes that are... |

bind_ngrams | Replace blanks by replacement pattern in known ngrams in a... |

cos_sim2_vectors | Calculate the cosine similarity of a set of word vectors to... |

create_reference_tcm | Create several reference tcms with different settings for... |

get_cooccurrence | Get the co-occurrence of column elements per row entity (e.g.... |

get_extrema | Get idxs and values of extreme points in discrete sequence of... |

get_loglik_parallel | Get loglikelihood from multiple locally saved models |

get_rank | Wrapper around base rank allowing for dense rank output |

get_topic_trends | Model and summarize topic trends based on text2vec LDA |

get_wiki_content | Get Wikipedia Text Content from Multiple Pages |

gradient_numeric | Get numeric gradient between points |

jsPCA_robust | (nUmerically robust) Dimension reduction via Jensen-Shannon... |

loess_aicc_optimized | Fitting of AICC optimized loess (groupwise) |

patterns_in_topics | Check occurrence and rank of patterns per topic |

p_lm | Get p values of linear model |

plot_topic_trends | Generate trend plots for topics modelled with text2vec and... |

replace_acronyms_by_words | Replace acronyms by words |

scale_normal | Scale values normal with boundaries zero and one |

semantic_coherence_stm_light | Semantic Coherence (as used in stm package, but a light... |

sort_topicmodels_LDA_by_lambda | Sort topics of an lda model from topicmodels by lambda |

sparse_to_stm | Convert sparse Matrix to format required by stm for modelling |

split_columns | Split columns on basis of a string and duplicate entries |

stri_process | A wrapper function for various preprocessing options for... |

subset_rows_DT | Subset rows of a data.table by reference |

tcm_specs_standard | Initializes the standard specifications for tcms to be used... |

top_feature_matrix | Create a top features per entity matrix from a numeric... |

topic_cooccurrence | Calculate topic co-occurrence from text2vec model |

treetag_parallel | Wrapper around treetag function from koRpus for parallel part... |

tripl_to_sparse | Simple triple matrix to sparse matrix |

uncontract_negations | Uncontrtact negations, e.g., "don't" to "do not" |

warp_lda_vary_n_parallel | Fit Warp LDA models for varying n in parallel |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.