<div dir="ltr">Hi!<div><br><div>I have a question about exporting results to external files.</div><div><br></div><div>I have seen in the documentation that to export the KWIC results of a query, one can use the command &lt;<i>cat &quot;query&quot; &gt; &#39;outputfile.txt&#39;;</i>&gt;.</div><div><br></div><div>Is it possible to export to a file the results of a &quot;function&quot; query?</div><div><br></div><div>For instance, I am interested in exporting to a file a list of words, and their respective frequency counts, from a query similiar to this one:</div><div><br></div><div> &lt;<i>Q1 = </i>[word = &quot;[a-zA-Z0-9].*&quot;]<i>; count Q1 by word;</i>&gt;<br></div><div><br></div><div>The result of this function would be similiar to this one:</div><div><br></div><div><p class=""><span class=""><i>5000    the  [#10000-#99999]</i></span></p><p class=""><i><span class="">4000    to  </span>[#20000-#89999]</i></p><p class=""><i><span class="">3000    was  </span>[#30000-#79999]</i></p><p class=""><i><span class="">2000    and  </span>[#40000-#69999]</i></p><p class=""><i><span class="">1000    of  </span>[#50000-#59999]</i></p></div><div><br></div><div>However, I do not want the KWIC results of the variable Q1, rather, My question is how can I export <b>the result of the function</b> &lt;<i>count Q1 by word;&gt; ?</i></div><div><i><br></i></div><div>Thank you in advance for any help!</div><div>Lauren</div><div><br></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><font face="georgia, serif"><b>Lauren Romeo</b><b><br></b></font><div><font face="georgia, serif">PhD-Intern, Natural Language Processing</font></div><div><font face="georgia, serif">Tekstum Solutions</font></div></div></div>
</div></div>