Skip to content
This repository was archived by the owner on Jan 1, 2021. It is now read-only.

fix typo in comment message #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/process_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def generate_sample(index_words, context_window_size):
# get a random target before the center word
for target in index_words[max(0, index - context): index]:
yield center, target
# get a random target after the center wrod
# get a random target after the center word
for target in index_words[index + 1: index + context + 1]:
yield center, target

Expand Down