TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

NLP with spaCy

151 pointsby tylerneylonabout 7 years ago

2 comments

syllogismabout 7 years ago
This site is super cool! Love the design.<p>If you make a pull request with your examples in a test file I&#x27;ll be sure to notify you if we break anything. The trickiest thing will be the outputs from the statistical models. If we release new models, the examples might give different outputs, even if the API hasn&#x27;t changed.<p>A quick clarification as well:<p>&gt; As implied in the spacy docs for the Token class, the is_alpha, is_digit, is_upper, is_lower, is_title, and is_space attributes all delegate their operations to Python&#x27;s built-in str methods with similar names (such as str.isalpha()).<p>This is generally true, but the values are cached within the vocabulary, for each word-type. I&#x27;m just worried this could confuse someone.
评论 #16653541 未加载
koughabout 7 years ago
This looks like some nice code examples, but it&#x27;s worth pointing out that Spacy&#x27;s website has really well-written documentation with plenty of code. For example, their page on generating word vectors:<p><a href="https:&#x2F;&#x2F;spacy.io&#x2F;usage&#x2F;vectors-similarity" rel="nofollow">https:&#x2F;&#x2F;spacy.io&#x2F;usage&#x2F;vectors-similarity</a>
评论 #16653563 未加载
评论 #16656156 未加载