dselivanov / dselivanov/text2vec

possible issue with create_tcm() docs

Open Beginner friendly
#356 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
876
Forks
133
PR merge metrics
No merged PRs in 30d

Description

Cheers everyone. I'm somewhat new to topic modeling and i came across this wonderful package, thank you guys for your work. While i was reading the docs in hope of creating a TCM i found the following example code:
```
tokens = word_tokenizer(tolower(movie_review$review))
it = itoken(tokens)
v = create_vocabulary(jobs)
vectorizer = vocab_vectorizer(v)
tcm = create_tcm(itoken(tokens), vectorizer, skip_grams_window = 3L)

```
where did jobs came from? could this be a typo? please let me know.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the documentation example for create_tcm() shown in the issue and trace the variables used by the surrounding example. Confirm whether jobs is undefined or an intended object, then update the example so it is internally consistent and verify that the rendered documentation contains no remaining reference error.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
78/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.