Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/commonsense/conceptnet-numberbatch
/ functions
Functions
6 in github.com/commonsense/conceptnet-numberbatch
⨍
Functions
6
◇
Types & classes
0
↓ 1 callers
Function
_standardized_concept_uri
(language, term)
text_to_uri.py:74
↓ 1 callers
Function
_standardized_text
(text, token_filter)
text_to_uri.py:84
↓ 1 callers
Function
replace_numbers
Replace digits with # in any term where a sequence of two digits appears. This operation is applied to text that passes through word2vec, so
text_to_uri.py:61
↓ 1 callers
Function
simple_tokenize
Tokenize text using the default wordfreq rules.
text_to_uri.py:91
Function
english_filter
Given a list of tokens, remove a small list of English stopwords. This helps to work with previous versions of ConceptNet, which often provid
text_to_uri.py:45
Function
standardized_uri
Get a URI that is suitable to label a row of a vector space, by making sure that both ConceptNet's and word2vec's normalizations are applied
text_to_uri.py:28