MCPcopy Create free account
hub / github.com/lazyprogrammer/machine_learning_examples / get_sentences

Function get_sentences

rnn_class/brown.py:19–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17
18
19def get_sentences():
20 # returns 57340 of the Brown corpus
21 # each sentence is represented as a list of individual string tokens
22 return brown.sents()
23
24
25def get_sentences_with_word2idx():

Calls

no outgoing calls

Tested by

no test coverage detected