python - Collocation output to a variable -


i trying put in collocation results variable.

i able this

print(corpus.collocations())  

and output on console...

but when

my_results = corpus.collocations() print(type(corpus.collocations())) 

i output

<class 'nonetype'> 


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

React Native allow user to reorder elements in a scrollview list -

multithreading - Exception in Application constructor -