Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add get_vocabulary() to see the learned vocabulary #55

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vvaezian
Copy link

Added a cell in "Chapter13/Text Processing".
This would explain the output of text_vec_layer(["Be good!", "Question: be or be?"]). I suggest adding it to the PDF version as well.

>>> text_vec_layer.get_vocabulary()
['', '[UNK]', 'be', 'to', 'the', 'thats', 'question']

@vvaezian
Copy link
Author

vvaezian commented Mar 16, 2023

The issue with previous the PR was with line endings for images on Windows, which was messing up diffs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant