Skip to content

Instantly share code, notes, and snippets.

@quantra-go-algo
Created September 28, 2023 17:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save quantra-go-algo/3381a5234a2ac076ea1d556b4ef9c7fc to your computer and use it in GitHub Desktop.
Save quantra-go-algo/3381a5234a2ac076ea1d556b4ef9c7fc to your computer and use it in GitHub Desktop.
# Display the vocabulary and the BoW matrix
print("Vocabulary (Unique Words):")
print(vocabulary)
print("\nBag of Words Matrix:")
print(bow_matrix)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment