PageRenderTime 20ms CodeModel.GetById 1ms app.highlight 15ms RepoModel.GetById 1ms app.codeStats 0ms

/doc/extras.UnicodeReader-class.html

http://github.com/apresta/tagger
HTML | 243 lines | 206 code | 15 blank | 22 comment | 0 complexity | 07cbea2320de9daecdfdb3a8bf6978b2 MD5 | raw file
  1<?xml version="1.0" encoding="ascii"?>
  2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  3          "DTD/xhtml1-transitional.dtd">
  4<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  5<head>
  6  <title>extras.UnicodeReader</title>
  7  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  8  <script type="text/javascript" src="epydoc.js"></script>
  9</head>
 10
 11<body bgcolor="white" text="black" link="blue" vlink="#204080"
 12      alink="#204080">
 13<!-- ==================== NAVIGATION BAR ==================== -->
 14<table class="navbar" border="0" width="100%" cellpadding="0"
 15       bgcolor="#a0c0ff" cellspacing="0">
 16  <tr valign="middle">
 17
 18  <!-- Tree link -->
 19      <th>&nbsp;&nbsp;&nbsp;<a
 20        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
 21
 22  <!-- Index link -->
 23      <th>&nbsp;&nbsp;&nbsp;<a
 24        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
 25
 26  <!-- Help link -->
 27      <th>&nbsp;&nbsp;&nbsp;<a
 28        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
 29
 30  <!-- Project homepage -->
 31      <th class="navbar" align="right" width="100%">
 32        <table border="0" cellpadding="0" cellspacing="0">
 33          <tr><th class="navbar" align="center"
 34            ><a class="navbar" target="_top" href="http://github.com/apresta/tagger">tagger</a></th>
 35          </tr></table></th>
 36  </tr>
 37</table>
 38<table width="100%" cellpadding="0" cellspacing="0">
 39  <tr valign="top">
 40    <td width="100%">
 41      <span class="breadcrumbs">
 42        <a href="extras-module.html">Module&nbsp;extras</a> ::
 43        Class&nbsp;UnicodeReader
 44      </span>
 45    </td>
 46    <td>
 47      <table cellpadding="0" cellspacing="0">
 48        <!-- hide/show private -->
 49        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
 50    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
 51        <tr><td align="right"><span class="options"
 52            >[<a href="frames.html" target="_top">frames</a
 53            >]&nbsp;|&nbsp;<a href="extras.UnicodeReader-class.html"
 54            target="_top">no&nbsp;frames</a>]</span></td></tr>
 55      </table>
 56    </td>
 57  </tr>
 58</table>
 59<!-- ==================== CLASS DESCRIPTION ==================== -->
 60<h1 class="epydoc">Class UnicodeReader</h1><p class="nomargin-top"><span class="codelink"><a href="extras-pysrc.html#UnicodeReader">source&nbsp;code</a></span></p>
 61<center>
 62<center>  <map id="class_hierarchy_for_unicoderea" name="class_hierarchy_for_unicoderea">
 63<area shape="rect" id="node1" href="extras.HTMLReader-class.html" title="HTMLReader" alt="" coords="12,117,116,144"/>
 64<area shape="rect" id="node2" href="extras.UnicodeReader-class.html" title="UnicodeReader" alt="" coords="5,61,123,88"/>
 65<area shape="rect" id="node3" href="tagger.Reader-class.html" title="tagger.Reader" alt="" coords="9,5,119,32"/>
 66</map>
 67  <img src="class_hierarchy_for_unicoderea.gif" alt='' usemap="#class_hierarchy_for_unicoderea" ismap="ismap" class="graph-without-title" />
 68</center>
 69</center>
 70<hr />
 71<p>Reader subclass that converts Unicode strings to a close ASCII 
 72  representation</p>
 73
 74<!-- ==================== INSTANCE METHODS ==================== -->
 75<a name="section-InstanceMethods"></a>
 76<table class="summary" border="1" cellpadding="3"
 77       cellspacing="0" width="100%" bgcolor="white">
 78<tr bgcolor="#70b0f0" class="table-header">
 79  <td colspan="2" class="table-header">
 80    <table border="0" cellpadding="0" cellspacing="0" width="100%">
 81      <tr valign="top">
 82        <td align="left"><span class="table-header">Instance Methods</span></td>
 83        <td align="right" valign="top"
 84         ><span class="options">[<a href="#section-InstanceMethods"
 85         class="privatelink" onclick="toggle_private();"
 86         >hide private</a>]</span></td>
 87      </tr>
 88    </table>
 89  </td>
 90</tr>
 91<tr>
 92    <td width="15%" align="right" valign="top" class="summary">
 93      <span class="summary-type">&nbsp;</span>
 94    </td><td class="summary">
 95      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 96        <tr>
 97          <td><span class="summary-sig"><a href="extras.UnicodeReader-class.html#__call__" class="summary-sig-name">__call__</a>(<span class="summary-sig-arg">self</span>,
 98        <span class="summary-sig-arg">text</span>)</span><br />
 99      Returns:
100      a list of tags respecting the order in the text</td>
101          <td align="right" valign="top">
102            <span class="codelink"><a href="extras-pysrc.html#UnicodeReader.__call__">source&nbsp;code</a></span>
103            
104          </td>
105        </tr>
106      </table>
107      
108    </td>
109  </tr>
110  <tr>
111    <td colspan="2" class="summary">
112    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="tagger.Reader-class.html">tagger.Reader</a></code></b>:
113      <code><a href="tagger.Reader-class.html#preprocess">preprocess</a></code>
114      </p>
115    </td>
116  </tr>
117</table>
118<!-- ==================== CLASS VARIABLES ==================== -->
119<a name="section-ClassVariables"></a>
120<table class="summary" border="1" cellpadding="3"
121       cellspacing="0" width="100%" bgcolor="white">
122<tr bgcolor="#70b0f0" class="table-header">
123  <td colspan="2" class="table-header">
124    <table border="0" cellpadding="0" cellspacing="0" width="100%">
125      <tr valign="top">
126        <td align="left"><span class="table-header">Class Variables</span></td>
127        <td align="right" valign="top"
128         ><span class="options">[<a href="#section-ClassVariables"
129         class="privatelink" onclick="toggle_private();"
130         >hide private</a>]</span></td>
131      </tr>
132    </table>
133  </td>
134</tr>
135  <tr>
136    <td colspan="2" class="summary">
137    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="tagger.Reader-class.html">tagger.Reader</a></code></b>:
138      <code><a href="tagger.Reader-class.html#match_apostrophes">match_apostrophes</a></code>,
139      <code><a href="tagger.Reader-class.html#match_paragraphs">match_paragraphs</a></code>,
140      <code><a href="tagger.Reader-class.html#match_phrases">match_phrases</a></code>,
141      <code><a href="tagger.Reader-class.html#match_words">match_words</a></code>
142      </p>
143    </td>
144  </tr>
145</table>
146<!-- ==================== METHOD DETAILS ==================== -->
147<a name="section-MethodDetails"></a>
148<table class="details" border="1" cellpadding="3"
149       cellspacing="0" width="100%" bgcolor="white">
150<tr bgcolor="#70b0f0" class="table-header">
151  <td colspan="2" class="table-header">
152    <table border="0" cellpadding="0" cellspacing="0" width="100%">
153      <tr valign="top">
154        <td align="left"><span class="table-header">Method Details</span></td>
155        <td align="right" valign="top"
156         ><span class="options">[<a href="#section-MethodDetails"
157         class="privatelink" onclick="toggle_private();"
158         >hide private</a>]</span></td>
159      </tr>
160    </table>
161  </td>
162</tr>
163</table>
164<a name="__call__"></a>
165<div>
166<table class="details" border="1" cellpadding="3"
167       cellspacing="0" width="100%" bgcolor="white">
168<tr><td>
169  <table width="100%" cellpadding="0" cellspacing="0" border="0">
170  <tr valign="top"><td>
171  <h3 class="epydoc"><span class="sig"><span class="sig-name">__call__</span>(<span class="sig-arg">self</span>,
172        <span class="sig-arg">text</span>)</span>
173    <br /><em class="fname">(Call operator)</em>
174  </h3>
175  </td><td align="right" valign="top"
176    ><span class="codelink"><a href="extras-pysrc.html#UnicodeReader.__call__">source&nbsp;code</a></span>&nbsp;
177    </td>
178  </tr></table>
179  
180  
181  <dl class="fields">
182    <dt>Parameters:</dt>
183    <dd><ul class="nomargin-top">
184        <li><strong class="pname"><code>text</code></strong> - the string of text to be tagged</li>
185    </ul></dd>
186    <dt>Returns:</dt>
187        <dd>a list of tags respecting the order in the text</dd>
188    <dt>Overrides:
189        <a href="tagger.Reader-class.html#__call__">tagger.Reader.__call__</a>
190        <dd><em class="note">(inherited documentation)</em></dd>
191    </dt>
192  </dl>
193</td></tr></table>
194</div>
195<br />
196<!-- ==================== NAVIGATION BAR ==================== -->
197<table class="navbar" border="0" width="100%" cellpadding="0"
198       bgcolor="#a0c0ff" cellspacing="0">
199  <tr valign="middle">
200
201  <!-- Tree link -->
202      <th>&nbsp;&nbsp;&nbsp;<a
203        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
204
205  <!-- Index link -->
206      <th>&nbsp;&nbsp;&nbsp;<a
207        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
208
209  <!-- Help link -->
210      <th>&nbsp;&nbsp;&nbsp;<a
211        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
212
213  <!-- Project homepage -->
214      <th class="navbar" align="right" width="100%">
215        <table border="0" cellpadding="0" cellspacing="0">
216          <tr><th class="navbar" align="center"
217            ><a class="navbar" target="_top" href="http://github.com/apresta/tagger">tagger</a></th>
218          </tr></table></th>
219  </tr>
220</table>
221<table border="0" cellpadding="0" cellspacing="0" width="100%%">
222  <tr>
223    <td align="left" class="footer">
224    Generated by Epydoc 3.0.1 on Fri May 13 11:13:08 2011
225    </td>
226    <td align="right" class="footer">
227      <a target="mainFrame" href="http://epydoc.sourceforge.net"
228        >http://epydoc.sourceforge.net</a>
229    </td>
230  </tr>
231</table>
232
233<script type="text/javascript">
234  <!--
235  // Private objects are initially displayed (because if
236  // javascript is turned off then we want them to be
237  // visible); but by default, we want to hide them.  So hide
238  // them unless we have a cookie that says to show them.
239  checkCookie();
240  // -->
241</script>
242</body>
243</html>