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

The definition of sentences? #28

Open
GoogleCodeExporter opened this issue Apr 19, 2015 · 1 comment
Open

The definition of sentences? #28

GoogleCodeExporter opened this issue Apr 19, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Hi, I am new to word2vec. I am preparing corpus in sentences using wikipedia 
dump. However the dump is pre-splitted in paragraphs which seems need to 
further be processed into sentences. 

My question is 

is it possible to directly train paragraphs instead of sentences? Or it is a 
must that word2vec (the SkipGram model) has to work with sentences. 

Since the algorithm trains the data by a context window, I didn't see much 
difference by add the extra window across sentences within the same paragraph. 

Original issue reported on code.google.com by [email protected] on 24 Feb 2015 at 9:35

@GoogleCodeExporter
Copy link
Author

You can train with paragraphs instead of sentences, it should be OK.

Original comment by [email protected] on 25 Feb 2015 at 8:24

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

No branches or pull requests

1 participant