MCPcopy 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
93def remove_less_word(lines_str, word_st):
94 return " ".join([word for word in lines_str.split() if word in word_st])
95
96
97class CorpusProcess:

Callers 1

clean_textMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected