Here's my code in python:
for post in posts:
ss = get_vector_local(word_list, status)
# ss is a string
if ss is not None:
output_file.writelines(ss + '\n')
But I need to write about 1GB file.
Do I need to rewrite the output part with python-C extension module to make the output faster?
isoperator instead of equality. For the main problem, I don't know but I stay around coz it's interesting.