gensim built-in preprocessed texts.

common_texts(to_r = FALSE)

common_corpus(to_r = FALSE)

common_dictionary(to_r = FALSE)

Arguments

to_r

Whether to return R data scruture.

Examples

common_texts()
#> [['human', 'interface', 'computer'], ['survey', 'user', 'computer', 'system', 'response', 'time'], ['eps', 'user', 'interface', 'system'], ['system', 'human', 'system', 'eps'], ['user', 'response', 'time'], ['trees'], ['graph', 'trees'], ['graph', 'minors', 'trees'], ['graph', 'minors', 'survey']]
common_corpus()
#> [[(0, 1), (1, 1), (2, 1)], [(0, 1), (3, 1), (4, 1), (5, 1), (6, 1), (7, 1)], [(2, 1), (5, 1), (7, 1), (8, 1)], [(1, 1), (5, 2), (8, 1)], [(3, 1), (6, 1), (7, 1)], [(9, 1)], [(9, 1), (10, 1)], [(9, 1), (10, 1), (11, 1)], [(4, 1), (10, 1), (11, 1)]]
common_dictionary()
#> Dictionary(12 unique tokens: [u'minors', u'graph', u'system', u'trees', u'eps']...)