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