1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>bogolexer</title><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry"><a name="bogolexer.1"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>bogolexer — Utility program for separating email messages into tokens</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">bogolexer</code> [-p] [-q] [-h] [-n] [-v] [-x <em class="replaceable"><code>flags</code></em>] [-c <em class="replaceable"><code>file</code></em>] [-C] [-D] [-I <em class="replaceable"><code>file</code></em>] [-O <em class="replaceable"><code>file</code></em>] [-V]</p></div></div><div class="refsect1"><a name="description"></a><h2>DESCRIPTION</h2><p><span class="application">Bogolexer</span> is part of the 2 <span class="application">bogofilter</span> Bayesian spam filter package.</p><p>It is used to separate messages into tokens and to test new versions of 3 the <code class="filename">lexer.l</code> code.</p></div><div class="refsect1"><a name="options"></a><h2>OPTIONS</h2><p> 4 The <code class="option">-p</code> option tells <span class="application">bogolexer</span> to 5 print just the tokens read from stdin, without any extra messages. 6 </p><p> 7 The <code class="option">-q</code> option tells <span class="application">bogolexer</span> 8 to print a token count, 9 without printing the actual tokens. </p><p>The <code class="option">-h</code> option prints the help message and exits.</p><p>The <code class="option">-n</code> option tells <span class="application">bogolexer</span> 10 to map non-ascii characters to the question point '?'.</p><p>The <code class="option">-v</code> option increases the verbosity level.</p><p>The <code class="option">-x <em class="replaceable"><code>flags</code></em></code> option 11allows setting of debug flags for printing debug messages.</p><p>The <code class="option">-c</code><em class="replaceable"><code>filename</code></em> option 12tells <span class="application">bogolexer</span> to read the config file named. 13</p><p>The <code class="option">-C</code> option prevents <span class="application">bogolexer</span> 14 from reading configuration files.</p><p>The <code class="option">-D</code> option redirects the debugging output to 15 stdout (it defaults to stderr).</p><p>The <code class="option">-I </code><em class="replaceable"><code>filename</code></em> option 16tells <span class="application">bogolexer</span> to read its input from the specified file, 17rather than from <span class="emphasis"><em>stdin</em></span>.</p><p>The <code class="option">-O </code><em class="replaceable"><code>filename</code></em> option 18tells <span class="application">bogolexer</span> to write its output to the specified file, 19rather than to <span class="emphasis"><em>stdout</em></span>.</p><p>The <code class="option">-V</code> option prints the version number and 20exits.</p></div><div class="refsect1"><a name="author"></a><h2>AUTHOR</h2><p>The <span class="application">bogofilter</span> developer team.</p><p> 21 For updates, see <a class="ulink" href="http://bogofilter.sourceforge.net/" target="_top"> 22 the bogofilter project page</a>. 23 </p></div><div class="refsect1"><a name="also"></a><h2>SEE ALSO</h2><p>bogofilter(1), bogotune(1), bogoupgrade(1), bogoutil(1)</p></div></div></body></html> 24