http://sujitpal.blogspot.com/2014/10/clustering-section-titles-with.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from nltk import pos_tag | |
from nltk.tag import str2tuple | |
""" | |
Usage: | |
dictionary_df['Pos'] = dictionary_df['Word'].apply(pos_maker) | |
dictionary_df['Help Definition'] = dictionary_df['Pos'].apply(clarify_pos) | |
""" | |
def clarify_pos(pos): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install.packages( | |
c( | |
"dplyr", # data manipulation | |
"tidyr", # data manipulation | |
"rmarkdown", # data presentation | |
"knitr", # data presentation | |
"RODBC", # database tools | |
"RMySQL", # database tools | |
"RPostgreSQL", # database tools | |
"RSQLite", # database tools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Bi-Term Topic Model (BTM) for very short texts. | |
Literature Reference: | |
Xiaohui Yan, Jiafeng Guo, Yanyan Lan, and Xueqi Cheng: | |
"A biterm topic model for short texts" | |
In Proceedings of WWW '13, Rio de Janeiro, Brazil, pp. 1445-1456. | |
ACM, DOI: https://doi.org/10.1145/2488388.2488514 | |
This module requires pre-processing of textual data, |
OlderNewer