<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Lexical analysis - Page 2 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Lexical_analysis&amp;p=1">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Lexical_analysis&amp;p=3">3.Next</a>
</p>
<p>and language keywords. Lexical tokenization is related to the type of tokenization used in <a href="page.php?w=large_language_model">large language model</a>s (LLMs) but with two differences. First, lexical tokenization is usually based on a <a href="page.php?w=lexical_grammar">lexical grammar</a>, whereas LLM tokenizers are usually <a href="page.php?w=probability">probability</a>-based. Second, LLM tokenizers perform a second step that converts the tokens into numerical values.</p>

<p><big> Rule-based programs </big></p>
<p>A rule-based program, performing</p><p>
<a accesskey="1" href="page.php?w=Lexical_analysis&amp;p=1">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Lexical_analysis&amp;p=3">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
