Send output to standard output or user-supplied stream.
returnedOstream = cout()
returnedOstream - type: ostream
For use in embedded or standalone analyzers. User may supply an output stream to an API call such as nlp->analyze(). Then sending output to cout() will write to the user-supplied output stream.
@CODE
# In VisualText, output to a file. Outside VisualText, output to user-supplied stream.
if (interactive())
G("out") = "out.txt";
else
G("out") = cout();
G("out") << "Hello output stream!" << "\n";
@@CODE