Last active
September 19, 2017 09:04
-
-
Save abresler/1b9be51d9ad2ad7f55f2bef6f64b56d4 to your computer and use it in GitHub Desktop.
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
devtools::install_github("abresler/markovifyR") | |
library(dplyr) | |
library(markovifyR) | |
df_yc <- fundManageR::get_data_ycombinator_alumni() | |
companies <- df_yc %>% pull(descriptionCompany) | |
mk_yc <- | |
generate_markovify_model( | |
input_text = companies, | |
markov_state_size = 3L, | |
max_overlap_total = 15, | |
max_overlap_ratio = .8 | |
) | |
mk_yc %>% | |
markovifyR::markovify_text(maximum_sentence_length = NULL, output_column_name = 'fakeCompanyDescription', | |
count = 50) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment