Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/chengsen/PyTorch_TextGCN
/ remove_less_word
Function
remove_less_word
data_processor.py:93–94 ·
view source on GitHub ↗
(lines_str, word_st)
Source
from the content-addressed store, hash-verified
91
92
93
def
remove_less_word(lines_str, word_st):
94
return
" "
.join([word
for
word in lines_str.split()
if
word in word_st])
95
96
97
class
CorpusProcess:
Callers
1
clean_text
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected