Gemified
[porter2stemmer.git] / rdoc / classes / Porter2.html
diff --git a/rdoc/classes/Porter2.html b/rdoc/classes/Porter2.html
new file mode 100644 (file)
index 0000000..6c38303
--- /dev/null
@@ -0,0 +1,250 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html 
+     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+  <title>Module: Porter2</title>
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+  <meta http-equiv="Content-Script-Type" content="text/javascript" />
+  <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
+  <script type="text/javascript">
+  // <![CDATA[
+
+  function popupCode( url ) {
+    window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
+  }
+
+  function toggleCode( id ) {
+    if ( document.getElementById )
+      elem = document.getElementById( id );
+    else if ( document.all )
+      elem = eval( "document.all." + id );
+    else
+      return false;
+
+    elemStyle = elem.style;
+    
+    if ( elemStyle.display != "block" ) {
+      elemStyle.display = "block"
+    } else {
+      elemStyle.display = "none"
+    }
+
+    return true;
+  }
+  
+  // Make codeblocks hidden by default
+  document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
+  
+  // ]]>
+  </script>
+
+</head>
+<body>
+
+
+
+    <div id="classHeader">
+        <table class="header-table">
+        <tr class="top-aligned-row">
+          <td><strong>Module</strong></td>
+          <td class="class-name-in-header">Porter2</td>
+        </tr>
+        <tr class="top-aligned-row">
+            <td><strong>In:</strong></td>
+            <td>
+                <a href="../files/lib/porter2stemmer/constants_rb.html">
+                lib/porter2stemmer/constants.rb
+                </a>
+        <br />
+            </td>
+        </tr>
+
+        </table>
+    </div>
+  <!-- banner header -->
+
+  <div id="bodyContent">
+
+
+
+  <div id="contextContent">
+
+    <div id="description">
+      <p>
+Constants for the Porter 2 stemmer
+</p>
+
+    </div>
+
+
+   </div>
+
+
+  </div>
+
+
+    <!-- if includes -->
+
+    <div id="section">
+
+
+    <div id="constants-list">
+      <h3 class="section-bar">Constants</h3>
+
+      <div class="name-list">
+        <table summary="Constants">
+        <tr class="top-aligned-row context-row">
+          <td class="context-item-name">C</td>
+          <td>=</td>
+          <td class="context-item-value">&quot;[^aeiouy]&quot;</td>
+          <td width="3em">&nbsp;</td>
+          <td class="context-item-desc">
+A non-vowel
+
+</td>
+        </tr>
+        <tr class="top-aligned-row context-row">
+          <td class="context-item-name">V</td>
+          <td>=</td>
+          <td class="context-item-value">&quot;[aeiouy]&quot;</td>
+          <td width="3em">&nbsp;</td>
+          <td class="context-item-desc">
+A vowel: a e i o u y
+
+</td>
+        </tr>
+        <tr class="top-aligned-row context-row">
+          <td class="context-item-name">CW</td>
+          <td>=</td>
+          <td class="context-item-value">&quot;[^aeiouywxY]&quot;</td>
+          <td width="3em">&nbsp;</td>
+          <td class="context-item-desc">
+A non-vowel other than w, x, or Y
+
+</td>
+        </tr>
+        <tr class="top-aligned-row context-row">
+          <td class="context-item-name">Double</td>
+          <td>=</td>
+          <td class="context-item-value">&quot;(bb|dd|ff|gg|mm|nn|pp|rr|tt)&quot;</td>
+          <td width="3em">&nbsp;</td>
+          <td class="context-item-desc">
+Doubles created when adding a suffix: these are undoubled when stemmed
+
+</td>
+        </tr>
+        <tr class="top-aligned-row context-row">
+          <td class="context-item-name">Valid_LI</td>
+          <td>=</td>
+          <td class="context-item-value">&quot;[cdeghkmnrt]&quot;</td>
+          <td width="3em">&nbsp;</td>
+          <td class="context-item-desc">
+A valid letter that can come before &#8216;li&#8217; (or &#8216;ly&#8217;)
+
+</td>
+        </tr>
+        <tr class="top-aligned-row context-row">
+          <td class="context-item-name">SHORT_SYLLABLE</td>
+          <td>=</td>
+          <td class="context-item-value">&quot;((#{C}#{V}#{CW})|(^#{V}#{C}))&quot;</td>
+          <td width="3em">&nbsp;</td>
+          <td class="context-item-desc">
+A specification for a short syllable.
+
+<p>
+A short syllable in a word is either:
+</p>
+<ol>
+<li>a vowel followed by a non-vowel other than w, x or Y and preceded by a
+non-vowel, or
+
+</li>
+<li>a vowel at the beginning of the word followed by a non-vowel.
+
+</li>
+</ol>
+<p>
+(The original document is silent on whether sequences of two or more
+non-vowels make a syllable long. But as this specification is only used to
+find sequences of non-vowel - vowel - non-vowel - end-of-word, this
+ambiguity does not have an effect.)
+</p>
+</td>
+        </tr>
+        <tr class="top-aligned-row context-row">
+          <td class="context-item-name">STEP_2_MAPS</td>
+          <td>=</td>
+          <td class="context-item-value">{&quot;tional&quot; =&gt; &quot;tion&quot;,\r                  &quot;enci&quot; =&gt; &quot;ence&quot;,\r                  &quot;anci&quot; =&gt; &quot;ance&quot;,\r                  &quot;abli&quot; =&gt; &quot;able&quot;,\r                  &quot;entli&quot; =&gt; &quot;ent&quot;,\r                  &quot;ization&quot; =&gt; &quot;ize&quot;,\r                  &quot;izer&quot; =&gt; &quot;ize&quot;,\r                  &quot;ational&quot; =&gt; &quot;ate&quot;,\r                  &quot;ation&quot; =&gt; &quot;ate&quot;,\r                  &quot;ator&quot; =&gt; &quot;ate&quot;,\r                  &quot;alism&quot; =&gt; &quot;al&quot;,\r                  &quot;aliti&quot; =&gt; &quot;al&quot;,\r                  &quot;alli&quot; =&gt; &quot;al&quot;,\r                  &quot;fulness&quot; =&gt; &quot;ful&quot;,\r                  &quot;ousli&quot; =&gt; &quot;ous&quot;,\r                  &quot;ousness&quot; =&gt; &quot;ous&quot;,\r                  &quot;iveness&quot; =&gt; &quot;ive&quot;,\r                  &quot;iviti&quot; =&gt; &quot;ive&quot;,\r                  &quot;biliti&quot; =&gt; &quot;ble&quot;,\r                  &quot;bli&quot; =&gt; &quot;ble&quot;,\r                  &quot;fulli&quot; =&gt; &quot;ful&quot;,\r                  &quot;lessli&quot; =&gt; &quot;less&quot; }</td>
+          <td width="3em">&nbsp;</td>
+          <td class="context-item-desc">
+Suffix transformations used in porter2_step2. (ogi, li endings dealt with
+in procedure)
+
+</td>
+        </tr>
+        <tr class="top-aligned-row context-row">
+          <td class="context-item-name">STEP_3_MAPS</td>
+          <td>=</td>
+          <td class="context-item-value">{&quot;tional&quot; =&gt; &quot;tion&quot;,\r                  &quot;ational&quot; =&gt; &quot;ate&quot;,\r                  &quot;alize&quot; =&gt; &quot;al&quot;,\r                  &quot;icate&quot; =&gt; &quot;ic&quot;,\r                  &quot;iciti&quot; =&gt; &quot;ic&quot;,\r                  &quot;ical&quot; =&gt; &quot;ic&quot;,\r                  &quot;ful&quot; =&gt; &quot;&quot;,\r                  &quot;ness&quot; =&gt; &quot;&quot; }</td>
+          <td width="3em">&nbsp;</td>
+          <td class="context-item-desc">
+Suffix transformations used in porter2_step3. (ative ending dealt with in
+procedure)
+
+</td>
+        </tr>
+        <tr class="top-aligned-row context-row">
+          <td class="context-item-name">STEP_4_MAPS</td>
+          <td>=</td>
+          <td class="context-item-value">{&quot;al&quot; =&gt; &quot;&quot;,\r                  &quot;ance&quot; =&gt; &quot;&quot;,\r                  &quot;ence&quot; =&gt; &quot;&quot;,\r                  &quot;er&quot; =&gt; &quot;&quot;,\r                  &quot;ic&quot; =&gt; &quot;&quot;,\r                  &quot;able&quot; =&gt; &quot;&quot;,\r                  &quot;ible&quot; =&gt; &quot;&quot;,\r                  &quot;ant&quot; =&gt; &quot;&quot;,\r                  &quot;ement&quot; =&gt; &quot;&quot;,\r                  &quot;ment&quot; =&gt; &quot;&quot;,\r                  &quot;ent&quot; =&gt; &quot;&quot;,\r                  &quot;ism&quot; =&gt; &quot;&quot;,\r                  &quot;ate&quot; =&gt; &quot;&quot;,\r                  &quot;iti&quot; =&gt; &quot;&quot;,\r                  &quot;ous&quot; =&gt; &quot;&quot;,\r                  &quot;ive&quot; =&gt; &quot;&quot;,\r                  &quot;ize&quot; =&gt; &quot;&quot; }</td>
+          <td width="3em">&nbsp;</td>
+          <td class="context-item-desc">
+Suffix transformations used in porter2_step4. (ion ending dealt with in
+procedure)
+
+</td>
+        </tr>
+        <tr class="top-aligned-row context-row">
+          <td class="context-item-name">SPECIAL_CASES</td>
+          <td>=</td>
+          <td class="context-item-value">{&quot;skis&quot; =&gt; &quot;ski&quot;,\r                    &quot;skies&quot; =&gt; &quot;sky&quot;,\r                     \r                    &quot;dying&quot; =&gt; &quot;die&quot;,\r                    &quot;lying&quot; =&gt; &quot;lie&quot;,\r                    &quot;tying&quot; =&gt; &quot;tie&quot;,\r                    &quot;idly&quot; =&gt;  &quot;idl&quot;,\r                    &quot;gently&quot; =&gt; &quot;gentl&quot;,\r                    &quot;ugly&quot; =&gt; &quot;ugli&quot;,\r                    &quot;early&quot; =&gt; &quot;earli&quot;,\r                    &quot;only&quot; =&gt; &quot;onli&quot;,\r                    &quot;singly&quot; =&gt;&quot;singl&quot;,\r                     \r                    &quot;sky&quot; =&gt; &quot;sky&quot;,\r                    &quot;news&quot; =&gt; &quot;news&quot;,\r                    &quot;howe&quot; =&gt; &quot;howe&quot;,\r                    &quot;atlas&quot; =&gt; &quot;atlas&quot;,\r                    &quot;cosmos&quot; =&gt; &quot;cosmos&quot;,\r                    &quot;bias&quot; =&gt; &quot;bias&quot;,\r                    &quot;andes&quot; =&gt; &quot;andes&quot; }</td>
+          <td width="3em">&nbsp;</td>
+          <td class="context-item-desc">
+Special-case stemmings
+
+</td>
+        </tr>
+        <tr class="top-aligned-row context-row">
+          <td class="context-item-name">STEP_1A_SPECIAL_CASES</td>
+          <td>=</td>
+          <td class="context-item-value">%w[ inning outing canning herring earring proceed exceed succeed ]</td>
+          <td width="3em">&nbsp;</td>
+          <td class="context-item-desc">
+Special case words to stop processing after step 1a.
+
+</td>
+        </tr>
+        </table>
+      </div>
+    </div>
+
+
+
+      
+
+
+    <!-- if method_list -->
+
+
+  </div>
+
+
+<div id="validator-badges">
+  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
+</div>
+
+</body>
+</html>
\ No newline at end of file