Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f9d20baf2d42bbb9f9c5746dba0abad5 > files > 173

python-translate-doc-1.10.0-3.mga4.noarch.rpm


<!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">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>lang &mdash; Translate Toolkit 1.9.0 documentation</title>
    
    <link rel="stylesheet" href="../_static/basic.css" type="text/css" />
    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
    <link rel="stylesheet" href="../_static/bootstrap.css" type="text/css" />
    <link rel="stylesheet" href="../_static/bootstrap-sphinx.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '../',
        VERSION:     '1.9.0',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="../_static/jquery.js"></script>
    <script type="text/javascript" src="../_static/underscore.js"></script>
    <script type="text/javascript" src="../_static/doctools.js"></script>
    <script type="text/javascript" src="../_static/bootstrap.js"></script>
    <script type="text/javascript" src="../_static/bootstrap-sphinx.js"></script>
    <link rel="top" title="Translate Toolkit 1.9.0 documentation" href="../index.html" />
    <link rel="up" title="API" href="index.html" />
    <link rel="next" title="misc" href="misc.html" />
    <link rel="prev" title="filters" href="filters.html" /> 
  </head>
  <body>
  <div id="navbar" class="navbar navbar-fixed-top">
    <div class="navbar-inner">
      <div class="container-fluid">
        <a class="brand" href="../index.html">Translate Toolkit</a>
        <span class="navbar-text pull-left"><b>1.9.0</b></span>
          <ul class="nav">
            <li class="divider-vertical"></li>
            
              <li class="dropdown">
  <a href="#" class="dropdown-toggle" data-toggle="dropdown">Site <b class="caret"></b></a>
  <ul class="dropdown-menu globaltoc"><ul class="simple">
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../features.html">Features</a></li>
<li class="toctree-l1"><a class="reference internal" href="../installation.html">Installation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../commands/index.html">Converters</a></li>
<li class="toctree-l1"><a class="reference internal" href="../commands/index.html#tools">Tools</a></li>
<li class="toctree-l1"><a class="reference internal" href="../commands/index.html#scripts">Scripts</a></li>
<li class="toctree-l1"><a class="reference internal" href="../guides/index.html">Use Cases</a></li>
<li class="toctree-l1"><a class="reference internal" href="../formats/index.html">Supported formats</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../styleguide.html">Translate Styleguide</a></li>
<li class="toctree-l1"><a class="reference internal" href="../styleguide.html#documentation">Documentation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../development/building.html">Building</a></li>
<li class="toctree-l1"><a class="reference internal" href="../development/contributing.html">Contributing</a></li>
<li class="toctree-l1"><a class="reference internal" href="../development/developers.html">Translate Toolkit Developers Guide</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="index.html">API</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../changelog.html">Important Changes</a></li>
<li class="toctree-l1"><a class="reference internal" href="../history.html">History of the Translate Toolkit</a></li>
<li class="toctree-l1"><a class="reference internal" href="../license.html">License</a></li>
</ul>
</ul>
</li>
              
<li class="dropdown">
  <a href="#" class="dropdown-toggle" data-toggle="dropdown">Page <b class="caret"></b></a>
  <ul class="dropdown-menu localtoc"><ul>
<li><a class="reference internal" href="#">lang</a><ul>
<li><a class="reference internal" href="#module-translate.lang.af">af</a></li>
<li><a class="reference internal" href="#module-translate.lang.am">am</a></li>
<li><a class="reference internal" href="#module-translate.lang.ar">ar</a></li>
<li><a class="reference internal" href="#module-translate.lang.bn">bn</a></li>
<li><a class="reference internal" href="#module-translate.lang.code_or">code_or</a></li>
<li><a class="reference internal" href="#module-translate.lang.common">common</a></li>
<li><a class="reference internal" href="#module-translate.lang.data">data</a></li>
<li><a class="reference internal" href="#module-translate.lang.de">de</a></li>
<li><a class="reference internal" href="#module-translate.lang.el">el</a></li>
<li><a class="reference internal" href="#module-translate.lang.es">es</a></li>
<li><a class="reference internal" href="#module-translate.lang.factory">factory</a></li>
<li><a class="reference internal" href="#module-translate.lang.fa">fa</a></li>
<li><a class="reference internal" href="#module-translate.lang.fi">fi</a></li>
<li><a class="reference internal" href="#module-translate.lang.fr">fr</a></li>
<li><a class="reference internal" href="#module-translate.lang.gu">gu</a></li>
<li><a class="reference internal" href="#module-translate.lang.he">he</a></li>
<li><a class="reference internal" href="#module-translate.lang.hi">hi</a></li>
<li><a class="reference internal" href="#module-translate.lang.hy">hy</a></li>
<li><a class="reference internal" href="#module-translate.lang.identify">identify</a></li>
<li><a class="reference internal" href="#module-translate.lang.ja">ja</a></li>
<li><a class="reference internal" href="#module-translate.lang.km">km</a></li>
<li><a class="reference internal" href="#module-translate.lang.kn">kn</a></li>
<li><a class="reference internal" href="#module-translate.lang.ko">ko</a></li>
<li><a class="reference internal" href="#module-translate.lang.ml">ml</a></li>
<li><a class="reference internal" href="#module-translate.lang.mr">mr</a></li>
<li><a class="reference internal" href="#module-translate.lang.ne">ne</a></li>
<li><a class="reference internal" href="#module-translate.lang.ngram">ngram</a></li>
<li><a class="reference internal" href="#module-translate.lang.pa">pa</a></li>
<li><a class="reference internal" href="#module-translate.lang.poedit">poedit</a></li>
<li><a class="reference internal" href="#module-translate.lang.si">si</a></li>
<li><a class="reference internal" href="#module-translate.lang.st">st</a></li>
<li><a class="reference internal" href="#module-translate.lang.sv">sv</a></li>
<li><a class="reference internal" href="#module-translate.lang.ta">ta</a></li>
<li><a class="reference internal" href="#module-translate.lang.team">team</a></li>
<li><a class="reference internal" href="#module-translate.lang.te">te</a></li>
<li><a class="reference internal" href="#module-translate.lang.th">th</a></li>
<li><a class="reference internal" href="#module-translate.lang.ug">ug</a></li>
<li><a class="reference internal" href="#module-translate.lang.ur">ur</a></li>
<li><a class="reference internal" href="#module-translate.lang.vi">vi</a></li>
<li><a class="reference internal" href="#module-translate.lang.zh">zh</a></li>
</ul>
</li>
</ul>
</ul>
</li>
            
            
              
  <li><a href="filters.html"
         title="previous chapter">&laquo; filters</a></li>
  <li><a href="misc.html"
         title="next chapter">misc &raquo;</a></li>
            
            
              
            
          </ul>
          
            
<form class="navbar-search pull-right" action="../search.html" method="get">
  <input type="text" name="q" placeholder="Search" />
  <input type="hidden" name="check_keywords" value="yes" />
  <input type="hidden" name="area" value="default" />
</form>
          
          </ul>
        </div>
      </div>
    </div>
  </div>

<div class="container content">
   
  <div class="section" id="module-translate.lang">
<span id="lang"></span><h1>lang<a class="headerlink" href="#module-translate.lang" title="Permalink to this headline">¶</a></h1>
<p>Classes that represent languages and provides language-specific information.</p>
<p>All classes inherit from the parent class called <a class="reference internal" href="#module-translate.lang.common" title="translate.lang.common"><tt class="xref py py-class docutils literal"><span class="pre">common</span></tt></a>.</p>
<p>The type of data includes:</p>
<ul class="simple">
<li>Language codes</li>
<li>Language name</li>
<li>Plurals</li>
<li>Punctuation transformation</li>
<li>etc.</li>
</ul>
<div class="section" id="module-translate.lang.af">
<span id="af"></span><h2>af<a class="headerlink" href="#module-translate.lang.af" title="Permalink to this headline">¶</a></h2>
<p>This module represents the Afrikaans language.</p>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://en.wikipedia.org/wiki/Afrikaans_language">http://en.wikipedia.org/wiki/Afrikaans_language</a></p>
</div>
<dl class="class">
<dt id="translate.lang.af.af">
<em class="property">class </em><tt class="descclassname">translate.lang.af.</tt><tt class="descname">af</tt><a class="headerlink" href="#translate.lang.af.af" title="Permalink to this definition">¶</a></dt>
<dd><p>This class represents Afrikaans.</p>
<dl class="classmethod">
<dt id="translate.lang.af.af.alter_length">
<em class="property">classmethod </em><tt class="descname">alter_length</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.af.af.alter_length" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the given string by adding or removing characters as an
estimation of translation length (with English assumed as source
language).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.af.af.capsstart">
<em class="property">classmethod </em><tt class="descname">capsstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.af.af.capsstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Modify this for the indefinite article (&#8216;n).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.af.af.character_iter">
<em class="property">classmethod </em><tt class="descname">character_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.af.af.character_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.af.af.characters">
<em class="property">classmethod </em><tt class="descname">characters</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.af.af.characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.af.af.length_difference">
<em class="property">classmethod </em><tt class="descname">length_difference</tt><big>(</big><em>length</em><big>)</big><a class="headerlink" href="#translate.lang.af.af.length_difference" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an estimate to a likely change in length relative to an
English string of length length.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.af.af.numstart">
<em class="property">classmethod </em><tt class="descname">numstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.af.af.numstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a mumeric value.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.af.af.punctranslate">
<em class="property">classmethod </em><tt class="descname">punctranslate</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.af.af.punctranslate" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the punctuation in a string according to the rules of the
language.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.af.af.sentence_iter">
<em class="property">classmethod </em><tt class="descname">sentence_iter</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.af.af.sentence_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the sentences in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.af.af.sentencere">
<tt class="descname">sentencere</tt><em class="property"> = &lt;_sre.SRE_Pattern object at 0x7ff0ff52d050&gt;</em><a class="headerlink" href="#translate.lang.af.af.sentencere" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="translate.lang.af.af.sentences">
<em class="property">classmethod </em><tt class="descname">sentences</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.af.af.sentences" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of senteces in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.af.af.word_iter">
<em class="property">classmethod </em><tt class="descname">word_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.af.af.word_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the words in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.af.af.words">
<em class="property">classmethod </em><tt class="descname">words</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.af.af.words" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of words in text.</p>
</dd></dl>

</dd></dl>

<dl class="data">
<dt id="translate.lang.af.cyr2lat">
<tt class="descclassname">translate.lang.af.</tt><tt class="descname">cyr2lat</tt><em class="property"> = {u'\u0401': 'Jo', u'\u0429': 'Sjtsj', u'\u0411': 'B', u'\u0410': 'A', u'\u0413': 'G', u'\u0412': 'W', u'\u0415': 'Je', u'\u0414': 'D', u'\u0417': 'Z', u'\u0416': 'Zj', u'\u0419': 'J', u'\u0418': 'I', u'\u041b': 'L', u'\u041a': 'K', u'\u041d': 'N', u'\u041c': 'M', u'\u041f': 'P', u'\u041e': 'O', u'\u0421': 'S', u'\u0420': 'R', u'\u0423': 'Oe', u'\u0422': 'T', u'\u0425': 'Ch', u'\u0424': 'F', u'\u0427': 'Tj', u'\u0426': 'Ts', u'\u0414\u0416': 'Dj', u'\u0428': 'Sj', u'\u042b': 'I', u'\u042a': '', u'\u042d': 'E', u'\u042c': '', u'\u042f': 'Ja', u'\u042e': 'Joe', u'\u0431': 'b', u'\u0430': 'a', u'\u0433': 'g', u'\u0432': 'w', u'\u0435': 'je', u'\u0434': 'd', u'\u0437': 'z', u'\u0436': 'zj', u'\u0439': 'j', u'\u0438': 'i', u'\u043b': 'l', u'\u043a': 'k', u'\u043d': 'n', u'\u043c': 'm', u'\u043f': 'p', u'\u043e': 'o', u'\u0441': 's', u'\u0440': 'r', u'\u0443': 'oe', u'\u0442': 't', u'\u0445': 'ch', u'\u0444': 'f', u'\u0447': 'tj', u'\u0446': 'ts', u'\u0449': 'sjtsj', u'\u0448': 'sj', u'\u044b': 'i', u'\u044a': '', u'\u044d': 'e', u'\u044c': '', u'\u044f': 'ja', u'\u044e': 'joe', u'\u0451': 'jo', u'\u0435\u0439': 'ei', u'\u0415\u0419': 'Ei', u'\u0434\u0436': 'dj'}</em><a class="headerlink" href="#translate.lang.af.cyr2lat" title="Permalink to this definition">¶</a></dt>
<dd><p>Mapping of Cyrillic to Latin letters for transliteration in Afrikaans</p>
</dd></dl>

<dl class="function">
<dt id="translate.lang.af.tranliterate_cyrillic">
<tt class="descclassname">translate.lang.af.</tt><tt class="descname">tranliterate_cyrillic</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.af.tranliterate_cyrillic" title="Permalink to this definition">¶</a></dt>
<dd><p>Convert Cyrillic text to Latin according to the AWS transliteration rules.</p>
</dd></dl>

</div>
<div class="section" id="module-translate.lang.am">
<span id="am"></span><h2>am<a class="headerlink" href="#module-translate.lang.am" title="Permalink to this headline">¶</a></h2>
<p>This module represents the Amharic language.</p>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://en.wikipedia.org/wiki/Amharic_language">http://en.wikipedia.org/wiki/Amharic_language</a></p>
</div>
<dl class="class">
<dt id="translate.lang.am.am">
<em class="property">class </em><tt class="descclassname">translate.lang.am.</tt><tt class="descname">am</tt><a class="headerlink" href="#translate.lang.am.am" title="Permalink to this definition">¶</a></dt>
<dd><p>This class represents Amharic.</p>
<dl class="classmethod">
<dt id="translate.lang.am.am.alter_length">
<em class="property">classmethod </em><tt class="descname">alter_length</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.am.am.alter_length" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the given string by adding or removing characters as an
estimation of translation length (with English assumed as source
language).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.am.am.capsstart">
<em class="property">classmethod </em><tt class="descname">capsstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.am.am.capsstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a capital letter.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.am.am.character_iter">
<em class="property">classmethod </em><tt class="descname">character_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.am.am.character_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.am.am.characters">
<em class="property">classmethod </em><tt class="descname">characters</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.am.am.characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.am.am.length_difference">
<em class="property">classmethod </em><tt class="descname">length_difference</tt><big>(</big><em>length</em><big>)</big><a class="headerlink" href="#translate.lang.am.am.length_difference" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an estimate to a likely change in length relative to an
English string of length length.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.am.am.numstart">
<em class="property">classmethod </em><tt class="descname">numstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.am.am.numstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a mumeric value.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.am.am.punctranslate">
<em class="property">classmethod </em><tt class="descname">punctranslate</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.am.am.punctranslate" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the punctuation in a string according to the rules of the
language.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.am.am.sentence_iter">
<em class="property">classmethod </em><tt class="descname">sentence_iter</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.am.am.sentence_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the sentences in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.am.am.sentencere">
<tt class="descname">sentencere</tt><em class="property"> = &lt;_sre.SRE_Pattern object at 0x7ff0ff503bc0&gt;</em><a class="headerlink" href="#translate.lang.am.am.sentencere" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="translate.lang.am.am.sentences">
<em class="property">classmethod </em><tt class="descname">sentences</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.am.am.sentences" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of senteces in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.am.am.word_iter">
<em class="property">classmethod </em><tt class="descname">word_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.am.am.word_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the words in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.am.am.words">
<em class="property">classmethod </em><tt class="descname">words</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.am.am.words" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of words in text.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-translate.lang.ar">
<span id="ar"></span><h2>ar<a class="headerlink" href="#module-translate.lang.ar" title="Permalink to this headline">¶</a></h2>
<p>This module represents the Arabic language.</p>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://en.wikipedia.org/wiki/Arabic_language">http://en.wikipedia.org/wiki/Arabic_language</a></p>
</div>
<dl class="class">
<dt id="translate.lang.ar.ar">
<em class="property">class </em><tt class="descclassname">translate.lang.ar.</tt><tt class="descname">ar</tt><a class="headerlink" href="#translate.lang.ar.ar" title="Permalink to this definition">¶</a></dt>
<dd><p>This class represents Arabic.</p>
<dl class="classmethod">
<dt id="translate.lang.ar.ar.alter_length">
<em class="property">classmethod </em><tt class="descname">alter_length</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ar.ar.alter_length" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the given string by adding or removing characters as an
estimation of translation length (with English assumed as source
language).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ar.ar.capsstart">
<em class="property">classmethod </em><tt class="descname">capsstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ar.ar.capsstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a capital letter.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ar.ar.character_iter">
<em class="property">classmethod </em><tt class="descname">character_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ar.ar.character_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ar.ar.characters">
<em class="property">classmethod </em><tt class="descname">characters</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ar.ar.characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ar.ar.length_difference">
<em class="property">classmethod </em><tt class="descname">length_difference</tt><big>(</big><em>length</em><big>)</big><a class="headerlink" href="#translate.lang.ar.ar.length_difference" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an estimate to a likely change in length relative to an
English string of length length.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ar.ar.numstart">
<em class="property">classmethod </em><tt class="descname">numstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ar.ar.numstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a mumeric value.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ar.ar.sentence_iter">
<em class="property">classmethod </em><tt class="descname">sentence_iter</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.ar.ar.sentence_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the sentences in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.ar.ar.sentencere">
<tt class="descname">sentencere</tt><em class="property"> = &lt;_sre.SRE_Pattern object at 0x7ff0fe4a7700&gt;</em><a class="headerlink" href="#translate.lang.ar.ar.sentencere" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ar.ar.sentences">
<em class="property">classmethod </em><tt class="descname">sentences</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.ar.ar.sentences" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of senteces in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ar.ar.word_iter">
<em class="property">classmethod </em><tt class="descname">word_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ar.ar.word_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the words in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ar.ar.words">
<em class="property">classmethod </em><tt class="descname">words</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ar.ar.words" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of words in text.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-translate.lang.bn">
<span id="bn"></span><h2>bn<a class="headerlink" href="#module-translate.lang.bn" title="Permalink to this headline">¶</a></h2>
<p>This module represents the Bengali language.</p>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://en.wikipedia.org/wiki/Bengali_language">http://en.wikipedia.org/wiki/Bengali_language</a></p>
</div>
<dl class="class">
<dt id="translate.lang.bn.bn">
<em class="property">class </em><tt class="descclassname">translate.lang.bn.</tt><tt class="descname">bn</tt><a class="headerlink" href="#translate.lang.bn.bn" title="Permalink to this definition">¶</a></dt>
<dd><p>This class represents Bengali.</p>
<dl class="classmethod">
<dt id="translate.lang.bn.bn.alter_length">
<em class="property">classmethod </em><tt class="descname">alter_length</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.bn.bn.alter_length" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the given string by adding or removing characters as an
estimation of translation length (with English assumed as source
language).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.bn.bn.capsstart">
<em class="property">classmethod </em><tt class="descname">capsstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.bn.bn.capsstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a capital letter.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.bn.bn.character_iter">
<em class="property">classmethod </em><tt class="descname">character_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.bn.bn.character_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.bn.bn.characters">
<em class="property">classmethod </em><tt class="descname">characters</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.bn.bn.characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.bn.bn.length_difference">
<em class="property">classmethod </em><tt class="descname">length_difference</tt><big>(</big><em>length</em><big>)</big><a class="headerlink" href="#translate.lang.bn.bn.length_difference" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an estimate to a likely change in length relative to an
English string of length length.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.bn.bn.numstart">
<em class="property">classmethod </em><tt class="descname">numstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.bn.bn.numstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a mumeric value.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.bn.bn.punctranslate">
<em class="property">classmethod </em><tt class="descname">punctranslate</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.bn.bn.punctranslate" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the punctuation in a string according to the rules of the
language.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.bn.bn.sentence_iter">
<em class="property">classmethod </em><tt class="descname">sentence_iter</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.bn.bn.sentence_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the sentences in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.bn.bn.sentencere">
<tt class="descname">sentencere</tt><em class="property"> = &lt;_sre.SRE_Pattern object at 0x7ff0fe613420&gt;</em><a class="headerlink" href="#translate.lang.bn.bn.sentencere" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="translate.lang.bn.bn.sentences">
<em class="property">classmethod </em><tt class="descname">sentences</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.bn.bn.sentences" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of senteces in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.bn.bn.word_iter">
<em class="property">classmethod </em><tt class="descname">word_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.bn.bn.word_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the words in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.bn.bn.words">
<em class="property">classmethod </em><tt class="descname">words</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.bn.bn.words" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of words in text.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-translate.lang.code_or">
<span id="code-or"></span><h2>code_or<a class="headerlink" href="#module-translate.lang.code_or" title="Permalink to this headline">¶</a></h2>
<p>This module represents the Oriya language.</p>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://en.wikipedia.org/wiki/Oriya_language">http://en.wikipedia.org/wiki/Oriya_language</a></p>
</div>
<dl class="class">
<dt id="translate.lang.code_or.code_or">
<em class="property">class </em><tt class="descclassname">translate.lang.code_or.</tt><tt class="descname">code_or</tt><a class="headerlink" href="#translate.lang.code_or.code_or" title="Permalink to this definition">¶</a></dt>
<dd><p>This class represents Oriya.</p>
<dl class="classmethod">
<dt id="translate.lang.code_or.code_or.alter_length">
<em class="property">classmethod </em><tt class="descname">alter_length</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.code_or.code_or.alter_length" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the given string by adding or removing characters as an
estimation of translation length (with English assumed as source
language).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.code_or.code_or.capsstart">
<em class="property">classmethod </em><tt class="descname">capsstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.code_or.code_or.capsstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a capital letter.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.code_or.code_or.character_iter">
<em class="property">classmethod </em><tt class="descname">character_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.code_or.code_or.character_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.code_or.code_or.characters">
<em class="property">classmethod </em><tt class="descname">characters</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.code_or.code_or.characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.code_or.code_or.length_difference">
<em class="property">classmethod </em><tt class="descname">length_difference</tt><big>(</big><em>length</em><big>)</big><a class="headerlink" href="#translate.lang.code_or.code_or.length_difference" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an estimate to a likely change in length relative to an
English string of length length.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.code_or.code_or.numstart">
<em class="property">classmethod </em><tt class="descname">numstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.code_or.code_or.numstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a mumeric value.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.code_or.code_or.punctranslate">
<em class="property">classmethod </em><tt class="descname">punctranslate</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.code_or.code_or.punctranslate" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the punctuation in a string according to the rules of the
language.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.code_or.code_or.sentence_iter">
<em class="property">classmethod </em><tt class="descname">sentence_iter</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.code_or.code_or.sentence_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the sentences in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.code_or.code_or.sentencere">
<tt class="descname">sentencere</tt><em class="property"> = &lt;_sre.SRE_Pattern object at 0x7ff0fe613420&gt;</em><a class="headerlink" href="#translate.lang.code_or.code_or.sentencere" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="translate.lang.code_or.code_or.sentences">
<em class="property">classmethod </em><tt class="descname">sentences</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.code_or.code_or.sentences" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of senteces in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.code_or.code_or.word_iter">
<em class="property">classmethod </em><tt class="descname">word_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.code_or.code_or.word_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the words in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.code_or.code_or.words">
<em class="property">classmethod </em><tt class="descname">words</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.code_or.code_or.words" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of words in text.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-translate.lang.common">
<span id="common"></span><h2>common<a class="headerlink" href="#module-translate.lang.common" title="Permalink to this headline">¶</a></h2>
<p>This module contains all the common features for languages.</p>
<p>Supported features:</p>
<ul class="simple">
<li>language code (km, af)</li>
<li>language name (Khmer, Afrikaans)</li>
<li>Plurals<ul>
<li>Number of plurals (nplurals)</li>
<li>Plural equation</li>
</ul>
</li>
<li>pofilter tests to ignore</li>
</ul>
<p>Segmentation:</p>
<ul class="simple">
<li>characters</li>
<li>words</li>
<li>sentences</li>
</ul>
<p>Punctuation:</p>
<ul class="simple">
<li>End of sentence</li>
<li>Start of sentence</li>
<li>Middle of sentence</li>
<li>Quotes<ul>
<li>single</li>
<li>double</li>
</ul>
</li>
<li>Valid characters</li>
<li>Accelerator characters</li>
<li>Special characters</li>
<li>Direction (rtl or ltr)</li>
</ul>
<p>TODOs and Ideas for possible features:</p>
<ul class="simple">
<li>Language-Team information</li>
<li>Segmentation<ul>
<li>phrases</li>
</ul>
</li>
</ul>
<dl class="class">
<dt id="translate.lang.common.Common">
<em class="property">class </em><tt class="descclassname">translate.lang.common.</tt><tt class="descname">Common</tt><a class="headerlink" href="#translate.lang.common.Common" title="Permalink to this definition">¶</a></dt>
<dd><p>This class is the common parent class for all language classes.</p>
<dl class="attribute">
<dt id="translate.lang.common.Common.CJKpunc">
<tt class="descname">CJKpunc</tt><em class="property"> = u'\u3002\u3001\uff0c\uff1b\uff01\uff1f\u300c\u300d\u300e\u300f\u3010\u3011'</em><a class="headerlink" href="#translate.lang.common.Common.CJKpunc" title="Permalink to this definition">¶</a></dt>
<dd><p>These punctuation marks are used in certain circumstances with CJK
languages.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.common.Common.alter_length">
<em class="property">classmethod </em><tt class="descname">alter_length</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.common.Common.alter_length" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the given string by adding or removing characters as an
estimation of translation length (with English assumed as source
language).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.common.Common.capsstart">
<em class="property">classmethod </em><tt class="descname">capsstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.common.Common.capsstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a capital letter.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.common.Common.character_iter">
<em class="property">classmethod </em><tt class="descname">character_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.common.Common.character_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.common.Common.characters">
<em class="property">classmethod </em><tt class="descname">characters</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.common.Common.characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of characters in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.common.Common.checker">
<tt class="descname">checker</tt><em class="property"> = None</em><a class="headerlink" href="#translate.lang.common.Common.checker" title="Permalink to this definition">¶</a></dt>
<dd><p>A language specific checker (see filters.checks).</p>
<p>This doesn&#8217;t need to be supplied, but will be used if it exists.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.common.Common.code">
<tt class="descname">code</tt><em class="property"> = ''</em><a class="headerlink" href="#translate.lang.common.Common.code" title="Permalink to this definition">¶</a></dt>
<dd><p>The ISO 639 language code, possibly with a country specifier or other
modifier.</p>
<p>Examples:</p>
<div class="highlight-python"><pre>km
pt_BR
sr_YU@Latn</pre>
</div>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.common.Common.commonpunc">
<tt class="descname">commonpunc</tt><em class="property"> = u'.,;:!?-&#64;#$%^*_()[]{}/\\\'`&quot;&lt;&gt;'</em><a class="headerlink" href="#translate.lang.common.Common.commonpunc" title="Permalink to this definition">¶</a></dt>
<dd><p>These punctuation marks are common in English and most languages that
use latin script.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.common.Common.ethiopicpunc">
<tt class="descname">ethiopicpunc</tt><em class="property"> = u'\u1362\u1364\u1363'</em><a class="headerlink" href="#translate.lang.common.Common.ethiopicpunc" title="Permalink to this definition">¶</a></dt>
<dd><p>These punctuation marks are used by several Ethiopic languages.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.common.Common.fullname">
<tt class="descname">fullname</tt><em class="property"> = ''</em><a class="headerlink" href="#translate.lang.common.Common.fullname" title="Permalink to this definition">¶</a></dt>
<dd><p>The full (English) name of this language.</p>
<p>Dialect codes should have the form of:</p>
<ul class="simple">
<li>Khmer</li>
<li>Portugese (Brazil)</li>
<li>TODO: <a class="reference external" href="mailto:sr_YU&#37;&#52;&#48;Latn">sr_YU<span>&#64;</span>Latn</a>?</li>
</ul>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.common.Common.ignoretests">
<tt class="descname">ignoretests</tt><em class="property"> = []</em><a class="headerlink" href="#translate.lang.common.Common.ignoretests" title="Permalink to this definition">¶</a></dt>
<dd><p>List of pofilter tests for this language that must be ignored.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.common.Common.indicpunc">
<tt class="descname">indicpunc</tt><em class="property"> = u'\u0964\u0965\u0970'</em><a class="headerlink" href="#translate.lang.common.Common.indicpunc" title="Permalink to this definition">¶</a></dt>
<dd><p>These punctuation marks are used by several Indic languages.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.common.Common.invertedpunc">
<tt class="descname">invertedpunc</tt><em class="property"> = u'\xbf\xa1'</em><a class="headerlink" href="#translate.lang.common.Common.invertedpunc" title="Permalink to this definition">¶</a></dt>
<dd><p>Inverted punctuation sometimes used at the beginning of sentences in
Spanish, Asturian, Galician, and Catalan.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.common.Common.length_difference">
<em class="property">classmethod </em><tt class="descname">length_difference</tt><big>(</big><em>length</em><big>)</big><a class="headerlink" href="#translate.lang.common.Common.length_difference" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an estimate to a likely change in length relative to an
English string of length length.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.common.Common.listseperator">
<tt class="descname">listseperator</tt><em class="property"> = u', '</em><a class="headerlink" href="#translate.lang.common.Common.listseperator" title="Permalink to this definition">¶</a></dt>
<dd><p>This string is used to separate lists of textual elements. Most
languages probably can stick with the default comma, but Arabic and some
Asian languages might want to override this.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.common.Common.miscpunc">
<tt class="descname">miscpunc</tt><em class="property"> = u'\u2026\xb1\xb0\xb9\xb2\xb3\xb7\xa9\xae\xd7\xa3\xa5\u20ac'</em><a class="headerlink" href="#translate.lang.common.Common.miscpunc" title="Permalink to this definition">¶</a></dt>
<dd><p>The middle dot (·) is used by Greek and Georgian.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.common.Common.nplurals">
<tt class="descname">nplurals</tt><em class="property"> = 0</em><a class="headerlink" href="#translate.lang.common.Common.nplurals" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of plural forms of this language.</p>
<p>0 is not a valid value - it must be overridden.
Any positive integer is valid (it should probably be between 1 and 6)</p>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference internal" href="#module-translate.lang.data" title="translate.lang.data"><tt class="xref py py-mod docutils literal"><span class="pre">translate.lang.data</span></tt></a></p>
</div>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.common.Common.numstart">
<em class="property">classmethod </em><tt class="descname">numstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.common.Common.numstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a mumeric value.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.common.Common.pluralequation">
<tt class="descname">pluralequation</tt><em class="property"> = '0'</em><a class="headerlink" href="#translate.lang.common.Common.pluralequation" title="Permalink to this definition">¶</a></dt>
<dd><p>The plural equation for selection of plural forms.</p>
<p>This is used for PO files to fill into the header.</p>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://www.gnu.org/software/gettext/manual/html_node/gettext_150.html#Plural-forms">Gettext manual</a>, <a class="reference internal" href="#module-translate.lang.data" title="translate.lang.data"><tt class="xref py py-mod docutils literal"><span class="pre">translate.lang.data</span></tt></a></p>
</div>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.common.Common.puncdict">
<tt class="descname">puncdict</tt><em class="property"> = {}</em><a class="headerlink" href="#translate.lang.common.Common.puncdict" title="Permalink to this definition">¶</a></dt>
<dd><p>A dictionary of punctuation transformation rules that can be used by
punctranslate().</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.common.Common.punctranslate">
<em class="property">classmethod </em><tt class="descname">punctranslate</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.common.Common.punctranslate" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the punctuation in a string according to the rules of the
language.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.common.Common.punctuation">
<tt class="descname">punctuation</tt><em class="property"> = u'.,;:!?-&#64;#$%^*_()[]{}/\\\'`&quot;&lt;&gt;\u2018\u2019\u201b\u201c\u201d\u201e\u201f\u2032\u2033\u2034\u2035\u2036\u2037\u2039\u203a\xab\xbb\xbf\xa1\u060c\u061f\u061b\xf7\u3002\u3001\uff0c\uff1b\uff01\uff1f\u300c\u300d\u300e\u300f\u3010\u3011\u0964\u0965\u0970\u1362\u1364\u1363\u2026\xb1\xb0\xb9\xb2\xb3\xb7\xa9\xae\xd7\xa3\xa5\u20ac'</em><a class="headerlink" href="#translate.lang.common.Common.punctuation" title="Permalink to this definition">¶</a></dt>
<dd><p>We include many types of punctuation here, simply since this is only
meant to determine if something is punctuation. Hopefully we catch some
languages which might not be represented with modules. Most languages won&#8217;t
need to override this.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.common.Common.quotes">
<tt class="descname">quotes</tt><em class="property"> = u'\u2018\u2019\u201b\u201c\u201d\u201e\u201f\u2032\u2033\u2034\u2035\u2036\u2037\u2039\u203a\xab\xbb'</em><a class="headerlink" href="#translate.lang.common.Common.quotes" title="Permalink to this definition">¶</a></dt>
<dd><p>These are different quotation marks used by various languages.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.common.Common.rtlpunc">
<tt class="descname">rtlpunc</tt><em class="property"> = u'\u060c\u061f\u061b\xf7'</em><a class="headerlink" href="#translate.lang.common.Common.rtlpunc" title="Permalink to this definition">¶</a></dt>
<dd><p>These punctuation marks are used by Arabic and Persian, for example.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.common.Common.sentence_iter">
<em class="property">classmethod </em><tt class="descname">sentence_iter</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.common.Common.sentence_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the sentences in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.common.Common.sentenceend">
<tt class="descname">sentenceend</tt><em class="property"> = u'.!?\u2026\u0589\u061f\u0964\u3002\uff01\uff1f\u1362\u06d4'</em><a class="headerlink" href="#translate.lang.common.Common.sentenceend" title="Permalink to this definition">¶</a></dt>
<dd><p>These marks can indicate a sentence end. Once again we try to account
for many languages. Most langauges won&#8217;t need to override this.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.common.Common.sentencere">
<tt class="descname">sentencere</tt><em class="property"> = &lt;_sre.SRE_Pattern object at 0x7ff0fe4a7700&gt;</em><a class="headerlink" href="#translate.lang.common.Common.sentencere" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="translate.lang.common.Common.sentences">
<em class="property">classmethod </em><tt class="descname">sentences</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.common.Common.sentences" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of senteces in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.common.Common.validaccel">
<tt class="descname">validaccel</tt><em class="property"> = None</em><a class="headerlink" href="#translate.lang.common.Common.validaccel" title="Permalink to this definition">¶</a></dt>
<dd><p>Characters that can be used as accelerators (access keys) i.e. Alt+X
where X is the accelerator.  These can include combining diacritics as
long as they are accessible from the users keyboard in a single keystroke,
but normally they would be at least precomposed characters. All characters,
lower and upper, are included in the list.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.common.Common.validdoublewords">
<tt class="descname">validdoublewords</tt><em class="property"> = []</em><a class="headerlink" href="#translate.lang.common.Common.validdoublewords" title="Permalink to this definition">¶</a></dt>
<dd><p>Some languages allow double words in certain cases.  This is a dictionary
of such words.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.common.Common.word_iter">
<em class="property">classmethod </em><tt class="descname">word_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.common.Common.word_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the words in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.common.Common.words">
<em class="property">classmethod </em><tt class="descname">words</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.common.Common.words" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of words in text.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-translate.lang.data">
<span id="data"></span><h2>data<a class="headerlink" href="#module-translate.lang.data" title="Permalink to this headline">¶</a></h2>
<p>This module stores information and functionality that relates to plurals.</p>
<dl class="data">
<dt id="translate.lang.data.expansion_factors">
<tt class="descclassname">translate.lang.data.</tt><tt class="descname">expansion_factors</tt><em class="property"> = {'fr': 0.28, 'ar': -0.09, 'it': 0.2, 'es': 0.21, 'af': 0.1}</em><a class="headerlink" href="#translate.lang.data.expansion_factors" title="Permalink to this definition">¶</a></dt>
<dd><p>Source to target string length expansion factors.</p>
</dd></dl>

<dl class="function">
<dt id="translate.lang.data.forceunicode">
<tt class="descclassname">translate.lang.data.</tt><tt class="descname">forceunicode</tt><big>(</big><em>string</em><big>)</big><a class="headerlink" href="#translate.lang.data.forceunicode" title="Permalink to this definition">¶</a></dt>
<dd><p>Ensures that the string is in unicode.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>string</strong> (<em>Unicode, String</em>) &#8211; A text string</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">String converted to Unicode and normalized as needed.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">Unicode</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="translate.lang.data.gettext_country">
<tt class="descclassname">translate.lang.data.</tt><tt class="descname">gettext_country</tt><big>(</big><em>langcode=None</em><big>)</big><a class="headerlink" href="#translate.lang.data.gettext_country" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a gettext function to translate country names into the given
language, or the system language if no language is specified.</p>
</dd></dl>

<dl class="function">
<dt id="translate.lang.data.gettext_lang">
<tt class="descclassname">translate.lang.data.</tt><tt class="descname">gettext_lang</tt><big>(</big><em>langcode=None</em><big>)</big><a class="headerlink" href="#translate.lang.data.gettext_lang" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a gettext function to translate language names into the given
language, or the system language if no language is specified.</p>
</dd></dl>

<dl class="data">
<dt id="translate.lang.data.iso3166">
<tt class="descclassname">translate.lang.data.</tt><tt class="descname">iso3166</tt><em class="property"> = {}</em><a class="headerlink" href="#translate.lang.data.iso3166" title="Permalink to this definition">¶</a></dt>
<dd><p>ISO 3166 country codes</p>
</dd></dl>

<dl class="data">
<dt id="translate.lang.data.iso639">
<tt class="descclassname">translate.lang.data.</tt><tt class="descname">iso639</tt><em class="property"> = {}</em><a class="headerlink" href="#translate.lang.data.iso639" title="Permalink to this definition">¶</a></dt>
<dd><p>ISO 639 language codes</p>
</dd></dl>

<dl class="function">
<dt id="translate.lang.data.languagematch">
<tt class="descclassname">translate.lang.data.</tt><tt class="descname">languagematch</tt><big>(</big><em>languagecode</em>, <em>otherlanguagecode</em><big>)</big><a class="headerlink" href="#translate.lang.data.languagematch" title="Permalink to this definition">¶</a></dt>
<dd><p>matches a languagecode to another, ignoring regions in the second</p>
</dd></dl>

<dl class="data">
<dt id="translate.lang.data.languages">
<tt class="descclassname">translate.lang.data.</tt><tt class="descname">languages</tt><em class="property"> = {'gu': (u'Gujarati', 2, '(n != 1)'), 'mfe': (u'Morisyen', 2, '(n &gt; 1)'), 'sco': (u'Scots', 2, '(n != 1)'), 'ca&#64;valencia': (u'Catalan; Valencian (Valencia)', 2, '(n != 1)'), 'gd': (u'Gaelic; Scottish Gaelic', 4, '(n==1 || n==11) ? 0 : (n==2 || n==12) ? 1 : (n &gt; 2 &amp;&amp; n &lt; 20) ? 2 : 3'), 'ga': (u'Irish', 5, 'n==1 ? 0 : n==2 ? 1 : n&lt;7 ? 2 : n&lt;11 ? 3 : 4'), 'gl': (u'Galician', 2, '(n != 1)'), 'lb': (u'Luxembourgish; Letzeburgesch', 2, '(n != 1)'), 'ln': (u'Lingala', 2, '(n &gt; 1)'), 'lo': (u'Lao', 1, '0'), 'tt': (u'Tatar', 1, '0'), 'tr': (u'Turkish', 1, '0'), 'lv': (u'Latvian', 3, '(n%10==1 &amp;&amp; n%100!=11 ? 0 : n != 0 ? 1 : 2)'), 'lt': (u'Lithuanian', 3, '(n%10==1 &amp;&amp; n%100!=11 ? 0 : n%10&gt;=2 &amp;&amp; (n%100&lt;10 || n%100&gt;=20) ? 1 : 2)'), 'tk': (u'Turkmen', 2, '(n != 1)'), 'th': (u'Thai', 1, '0'), 'ti': (u'Tigrinya', 2, '(n &gt; 1)'), 'tg': (u'Tajik', 2, '(n != 1)'), 'te': (u'Telugu', 2, '(n != 1)'), 'fil': (u'Filipino; Pilipino', 2, '(n &gt; 1)'), 'ta': (u'Tamil', 2, '(n != 1)'), 'zh_HK': (u'Chinese (Hong Kong)', 1, '0'), 'pt_BR': (u'Portuguese (Brazil)', 2, '(n != 1)'), 'de': (u'German', 2, '(n != 1)'), 'da': (u'Danish', 2, '(n != 1)'), 'dz': (u'Dzongkha', 1, '0'), 'gun': (u'Gun', 2, '(n &gt; 1)'), 'en_ZA': (u'English (South Africa)', 2, '(n != 1)'), 'el': (u'Greek, Modern (1453-)', 2, '(n != 1)'), 'eo': (u'Esperanto', 2, '(n != 1)'), 'en': (u'English', 2, '(n != 1)'), 'pms': (u'Piemontese', 2, '(n != 1)'), 'eu': (u'Basque', 2, '(n != 1)'), 'et': (u'Estonian', 2, '(n != 1)'), 'arn': (u'Mapudungun; Mapuche', 2, 'n &gt; 1'), 'ru': (u'Russian', 3, '(n%10==1 &amp;&amp; n%100!=11 ? 0 : n%10&gt;=2 &amp;&amp; n%10&lt;=4 &amp;&amp; (n%100&lt;10 || n%100&gt;=20) ? 1 : 2)'), 'rm': (u'Romansh', 2, '(n != 1)'), 'ro': (u'Romanian', 3, '(n==1 ? 0 : (n==0 || (n%100 &gt; 0 &amp;&amp; n%100 &lt; 20)) ? 1 : 2);'), 'bn': (u'Bengali', 2, '(n != 1)'), 'be': (u'Belarusian', 3, 'n%10==1 &amp;&amp; n%100!=11 ? 0 : n%10&gt;=2 &amp;&amp; n%10&lt;=4 &amp;&amp; (n%100&lt;10 || n%100&gt;=20) ? 1 : 2'), 'bg': (u'Bulgarian', 2, '(n != 1)'), 'uk': (u'Ukrainian', 3, '(n%10==1 &amp;&amp; n%100!=11 ? 0 : n%10&gt;=2 &amp;&amp; n%10&lt;=4 &amp;&amp; (n%100&lt;10 || n%100&gt;=20) ? 1 : 2)'), 'wa': (u'Walloon', 2, '(n &gt; 1)'), 'ast': (u'Asturian; Bable; Leonese; Asturleonese', 2, '(n != 1)'), 'jv': (u'Javanese', 2, '(n != 1)'), 'bo': (u'Tibetan', 1, '0'), 'br': (u'Breton', 2, 'n &gt; 1'), 'bs': (u'Bosnian', 3, 'n%10==1 &amp;&amp; n%100!=11 ? 0 : n%10&gt;=2 &amp;&amp; n%10&lt;=4 &amp;&amp; (n%100&lt;10 || n%100&gt;=20) ? 1 : 2'), 'ja': (u'Japanese', 1, '0'), 'oc': (u'Occitan (post 1500)', 2, '(n &gt; 1)'), 'or': (u'Oriya', 2, '(n != 1)'), 'nso': (u'Pedi; Sepedi; Northern Sotho', 2, '(n != 1)'), 'ca': (u'Catalan; Valencian', 2, '(n != 1)'), 'son': (u'Songhai languages', 2, '(n != 1)'), 'cy': (u'Welsh', 2, '(n==2) ? 1 : 0'), 'cs': (u'Czech', 3, '(n==1) ? 0 : (n&gt;=2 &amp;&amp; n&lt;=4) ? 1 : 2'), 'ps': (u'Pushto; Pashto', 2, '(n != 1)'), 'pt': (u'Portuguese', 2, '(n != 1)'), 'pa': (u'Panjabi; Punjabi', 2, '(n != 1)'), 'vi': (u'Vietnamese', 1, '0'), 'is': (u'Icelandic', 2, '(n != 1)'), 'en_GB': (u'English (United Kingdom)', 2, '(n != 1)'), 'hy': (u'Armenian', 1, '0'), 'hr': (u'Croatian', 3, '(n%10==1 &amp;&amp; n%100!=11 ? 0 : n%10&gt;=2 &amp;&amp; n%10&lt;=4 &amp;&amp; (n%100&lt;10 || n%100&gt;=20) ? 1 : 2)'), 'zh_TW': (u'Chinese (Taiwan)', 1, '0'), 'hu': (u'Hungarian', 2, '(n != 1)'), 'hi': (u'Hindi', 2, '(n != 1)'), 'ha': (u'Hausa', 2, '(n != 1)'), 'he': (u'Hebrew', 2, '(n != 1)'), 'mg': (u'Malagasy', 2, '(n &gt; 1)'), 'fur': (u'Friulian', 2, '(n != 1)'), 'zh_CN': (u'Chinese (China)', 1, '0'), 'ml': (u'Malayalam', 2, '(n != 1)'), 'mn': (u'Mongolian', 2, '(n != 1)'), 'mi': (u'Maori', 2, '(n &gt; 1)'), 'mk': (u'Macedonian', 2, 'n==1 || n%10==1 ? 0 : 1'), 'mt': (u'Maltese', 4, '(n==1 ? 0 : n==0 || ( n%100&gt;1 &amp;&amp; n%100&lt;11) ? 1 : (n%100&gt;10 &amp;&amp; n%100&lt;20 ) ? 2 : 3)'), 'pl': (u'Polish', 3, '(n==1 ? 0 : n%10&gt;=2 &amp;&amp; n%10&lt;=4 &amp;&amp; (n%100&lt;10 || n%100&gt;=20) ? 1 : 2)'), 'ms': (u'Malay', 1, '0'), 'mr': (u'Marathi', 2, '(n != 1)'), 'ug': (u'Uighur; Uyghur', 1, '0'), 'af': (u'Afrikaans', 2, '(n != 1)'), 'sw': (u'Swahili', 2, '(n != 1)'), 'ak': (u'Akan', 2, 'n &gt; 1'), 'am': (u'Amharic', 2, 'n &gt; 1'), 'it': (u'Italian', 2, '(n != 1)'), 'an': (u'Aragonese', 2, '(n != 1)'), 'ar': (u'Arabic', 6, 'n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100&gt;=3 &amp;&amp; n%100&lt;=10 ? 3 : n%100&gt;=11 ? 4 : 5'), 'su': (u'Sundanese', 1, '0'), 'zu': (u'Zulu', 2, '(n != 1)'), 'ia': (u'Interlingua (International Auxiliary Language Association)', 2, '(n != 1)'), 'az': (u'Azerbaijani', 2, '(n != 1)'), 'id': (u'Indonesian', 1, '0'), 'bn_IN': (u'Bengali (India)', 2, '(n != 1)'), 'pap': (u'Papiamento', 2, '(n != 1)'), 'nl': (u'Dutch; Flemish', 2, '(n != 1)'), 'yo': (u'Yoruba', 2, '(n != 1)'), 'nn': (u'Norwegian Nynorsk; Nynorsk, Norwegian', 2, '(n != 1)'), 'nah': (u'Nahuatl languages', 2, '(n != 1)'), 'ne': (u'Nepali', 2, '(n != 1)'), 'csb': (u'Kashubian', 3, 'n==1 ? 0 : n%10&gt;=2 &amp;&amp; n%10&lt;=4 &amp;&amp; (n%100&lt;10 || n%100&gt;=20) ? 1 : 2'), 'nap': (u'Neapolitan', 2, '(n != 1)'), 'es': (u'Spanish; Castilian', 2, '(n != 1)'), 'so': (u'Somali', 2, '(n != 1)'), 'fr': (u'French', 2, '(n &gt; 1)'), 'fy': (u'Frisian', 2, '(n != 1)'), 'sv': (u'Swedish', 2, '(n != 1)'), 'fa': (u'Persian', 1, '0'), 'ff': (u'Fulah', 2, '(n != 1)'), 'mai': (u'Maithili', 2, '(n != 1)'), 'fi': (u'Finnish', 2, '(n != 1)'), 'fo': (u'Faroese', 2, '(n != 1)'), 'ka': (u'Georgian', 1, '0'), 'kk': (u'Kazakh', 1, '0'), 'sr': (u'Serbian', 3, '(n%10==1 &amp;&amp; n%100!=11 ? 0 : n%10&gt;=2 &amp;&amp; n%10&lt;=4 &amp;&amp; (n%100&lt;10 || n%100&gt;=20) ? 1 : 2)'), 'sq': (u'Albanian', 2, '(n != 1)'), 'ko': (u'Korean', 1, '0'), 'kn': (u'Kannada', 2, '(n != 1)'), 'km': (u'Central Khmer', 1, '0'), 'st': (u'Sotho, Southern', 2, '(n != 1)'), 'sk': (u'Slovak', 3, '(n==1) ? 0 : (n&gt;=2 &amp;&amp; n&lt;=4) ? 1 : 2'), 'si': (u'Sinhala; Sinhalese', 2, '(n != 1)'), 'kw': (u'Cornish', 4, '(n==1) ? 0 : (n==2) ? 1 : (n == 3) ? 2 : 3'), 'ku': (u'Kurdish', 2, '(n != 1)'), 'sl': (u'Slovenian', 4, '(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3)'), 'ky': (u'Kirghiz; Kyrgyz', 1, '0'), 'nb': (u'Bokm\xe5l, Norwegian; Norwegian Bokm\xe5l', 2, '(n != 1)')}</em><a class="headerlink" href="#translate.lang.data.languages" title="Permalink to this definition">¶</a></dt>
<dd><p>Dictionary of language data.
The language code is the dictionary key (which may contain country codes
and modifiers).  The value is a tuple: (Full name in English from iso-codes,
nplurals, plural equation).</p>
<p>Note that the English names should not be used in user facing places - it
should always be passed through the function returned from tr_lang(), or at
least passed through _fix_language_name().</p>
</dd></dl>

<dl class="function">
<dt id="translate.lang.data.normalize">
<tt class="descclassname">translate.lang.data.</tt><tt class="descname">normalize</tt><big>(</big><em>string</em>, <em>normal_form='NFC'</em><big>)</big><a class="headerlink" href="#translate.lang.data.normalize" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a unicode string in its normalized form</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>string</strong> &#8211; The string to be normalized</li>
<li><strong>normal_form</strong> &#8211; NFC (default), NFD, NFKC, NFKD</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">Normalized string</p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="translate.lang.data.normalized_unicode">
<tt class="descclassname">translate.lang.data.</tt><tt class="descname">normalized_unicode</tt><big>(</big><em>string</em><big>)</big><a class="headerlink" href="#translate.lang.data.normalized_unicode" title="Permalink to this definition">¶</a></dt>
<dd><p>Forces the string to unicode and does normalization.</p>
</dd></dl>

<dl class="function">
<dt id="translate.lang.data.simplercode">
<tt class="descclassname">translate.lang.data.</tt><tt class="descname">simplercode</tt><big>(</big><em>code</em><big>)</big><a class="headerlink" href="#translate.lang.data.simplercode" title="Permalink to this definition">¶</a></dt>
<dd><p>This attempts to simplify the given language code by ignoring country
codes, for example.</p>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<ul class="last simple">
<li><a class="reference external" href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">http://www.rfc-editor.org/rfc/bcp/bcp47.txt</a></li>
<li><a class="reference external" href="http://www.rfc-editor.org/rfc/rfc4646.txt">http://www.rfc-editor.org/rfc/rfc4646.txt</a></li>
<li><a class="reference external" href="http://www.rfc-editor.org/rfc/rfc4647.txt">http://www.rfc-editor.org/rfc/rfc4647.txt</a></li>
<li><a class="reference external" href="http://www.w3.org/International/articles/language-tags/">http://www.w3.org/International/articles/language-tags/</a></li>
</ul>
</div>
</dd></dl>

<dl class="function">
<dt id="translate.lang.data.simplify_to_common">
<tt class="descclassname">translate.lang.data.</tt><tt class="descname">simplify_to_common</tt><big>(</big><em>language_code</em>, <em>languages={'gu': (u'Gujarati'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'mfe': (u'Morisyen'</em>, <em>2</em>, <em>'(n &gt; 1)')</em>, <em>'sco': (u'Scots'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'ca&#64;valencia': (u'Catalan; Valencian (Valencia)'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'gd': (u'Gaelic; Scottish Gaelic'</em>, <em>4</em>, <em>'(n==1 || n==11) ? 0 : (n==2 || n==12) ? 1 : (n &gt; 2 &amp;&amp; n &lt; 20) ? 2 : 3')</em>, <em>'ga': (u'Irish'</em>, <em>5</em>, <em>'n==1 ? 0 : n==2 ? 1 : n&lt;7 ? 2 : n&lt;11 ? 3 : 4')</em>, <em>'gl': (u'Galician'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'lb': (u'Luxembourgish; Letzeburgesch'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'ln': (u'Lingala'</em>, <em>2</em>, <em>'(n &gt; 1)')</em>, <em>'lo': (u'Lao'</em>, <em>1</em>, <em>'0')</em>, <em>'tt': (u'Tatar'</em>, <em>1</em>, <em>'0')</em>, <em>'tr': (u'Turkish'</em>, <em>1</em>, <em>'0')</em>, <em>'lv': (u'Latvian'</em>, <em>3</em>, <em>'(n%10==1 &amp;&amp; n%100!=11 ? 0 : n != 0 ? 1 : 2)')</em>, <em>'lt': (u'Lithuanian'</em>, <em>3</em>, <em>'(n%10==1 &amp;&amp; n%100!=11 ? 0 : n%10&gt;=2 &amp;&amp; (n%100&lt;10 || n%100&gt;=20) ? 1 : 2)')</em>, <em>'tk': (u'Turkmen'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'th': (u'Thai'</em>, <em>1</em>, <em>'0')</em>, <em>'ti': (u'Tigrinya'</em>, <em>2</em>, <em>'(n &gt; 1)')</em>, <em>'tg': (u'Tajik'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'te': (u'Telugu'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'fil': (u'Filipino; Pilipino'</em>, <em>2</em>, <em>'(n &gt; 1)')</em>, <em>'ta': (u'Tamil'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'zh_HK': (u'Chinese (Hong Kong)'</em>, <em>1</em>, <em>'0')</em>, <em>'pt_BR': (u'Portuguese (Brazil)'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'de': (u'German'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'da': (u'Danish'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'dz': (u'Dzongkha'</em>, <em>1</em>, <em>'0')</em>, <em>'gun': (u'Gun'</em>, <em>2</em>, <em>'(n &gt; 1)')</em>, <em>'en_ZA': (u'English (South Africa)'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'el': (u'Greek</em>, <em>Modern (1453-)'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'eo': (u'Esperanto'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'en': (u'English'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'pms': (u'Piemontese'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'eu': (u'Basque'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'et': (u'Estonian'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'arn': (u'Mapudungun; Mapuche'</em>, <em>2</em>, <em>'n &gt; 1')</em>, <em>'ru': (u'Russian'</em>, <em>3</em>, <em>'(n%10==1 &amp;&amp; n%100!=11 ? 0 : n%10&gt;=2 &amp;&amp; n%10&lt;=4 &amp;&amp; (n%100&lt;10 || n%100&gt;=20) ? 1 : 2)')</em>, <em>'rm': (u'Romansh'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'ro': (u'Romanian'</em>, <em>3</em>, <em>'(n==1 ? 0 : (n==0 || (n%100 &gt; 0 &amp;&amp; n%100 &lt; 20)) ? 1 : 2);')</em>, <em>'bn': (u'Bengali'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'be': (u'Belarusian'</em>, <em>3</em>, <em>'n%10==1 &amp;&amp; n%100!=11 ? 0 : n%10&gt;=2 &amp;&amp; n%10&lt;=4 &amp;&amp; (n%100&lt;10 || n%100&gt;=20) ? 1 : 2')</em>, <em>'bg': (u'Bulgarian'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'uk': (u'Ukrainian'</em>, <em>3</em>, <em>'(n%10==1 &amp;&amp; n%100!=11 ? 0 : n%10&gt;=2 &amp;&amp; n%10&lt;=4 &amp;&amp; (n%100&lt;10 || n%100&gt;=20) ? 1 : 2)')</em>, <em>'wa': (u'Walloon'</em>, <em>2</em>, <em>'(n &gt; 1)')</em>, <em>'ast': (u'Asturian; Bable; Leonese; Asturleonese'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'jv': (u'Javanese'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'bo': (u'Tibetan'</em>, <em>1</em>, <em>'0')</em>, <em>'br': (u'Breton'</em>, <em>2</em>, <em>'n &gt; 1')</em>, <em>'bs': (u'Bosnian'</em>, <em>3</em>, <em>'n%10==1 &amp;&amp; n%100!=11 ? 0 : n%10&gt;=2 &amp;&amp; n%10&lt;=4 &amp;&amp; (n%100&lt;10 || n%100&gt;=20) ? 1 : 2')</em>, <em>'ja': (u'Japanese'</em>, <em>1</em>, <em>'0')</em>, <em>'oc': (u'Occitan (post 1500)'</em>, <em>2</em>, <em>'(n &gt; 1)')</em>, <em>'or': (u'Oriya'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'nso': (u'Pedi; Sepedi; Northern Sotho'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'ca': (u'Catalan; Valencian'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'son': (u'Songhai languages'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'cy': (u'Welsh'</em>, <em>2</em>, <em>'(n==2) ? 1 : 0')</em>, <em>'cs': (u'Czech'</em>, <em>3</em>, <em>'(n==1) ? 0 : (n&gt;=2 &amp;&amp; n&lt;=4) ? 1 : 2')</em>, <em>'ps': (u'Pushto; Pashto'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'pt': (u'Portuguese'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'pa': (u'Panjabi; Punjabi'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'vi': (u'Vietnamese'</em>, <em>1</em>, <em>'0')</em>, <em>'is': (u'Icelandic'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'en_GB': (u'English (United Kingdom)'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'hy': (u'Armenian'</em>, <em>1</em>, <em>'0')</em>, <em>'hr': (u'Croatian'</em>, <em>3</em>, <em>'(n%10==1 &amp;&amp; n%100!=11 ? 0 : n%10&gt;=2 &amp;&amp; n%10&lt;=4 &amp;&amp; (n%100&lt;10 || n%100&gt;=20) ? 1 : 2)')</em>, <em>'zh_TW': (u'Chinese (Taiwan)'</em>, <em>1</em>, <em>'0')</em>, <em>'hu': (u'Hungarian'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'hi': (u'Hindi'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'ha': (u'Hausa'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'he': (u'Hebrew'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'mg': (u'Malagasy'</em>, <em>2</em>, <em>'(n &gt; 1)')</em>, <em>'fur': (u'Friulian'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'zh_CN': (u'Chinese (China)'</em>, <em>1</em>, <em>'0')</em>, <em>'ml': (u'Malayalam'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'mn': (u'Mongolian'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'mi': (u'Maori'</em>, <em>2</em>, <em>'(n &gt; 1)')</em>, <em>'mk': (u'Macedonian'</em>, <em>2</em>, <em>'n==1 || n%10==1 ? 0 : 1')</em>, <em>'mt': (u'Maltese'</em>, <em>4</em>, <em>'(n==1 ? 0 : n==0 || ( n%100&gt;1 &amp;&amp; n%100&lt;11) ? 1 : (n%100&gt;10 &amp;&amp; n%100&lt;20 ) ? 2 : 3)')</em>, <em>'pl': (u'Polish'</em>, <em>3</em>, <em>'(n==1 ? 0 : n%10&gt;=2 &amp;&amp; n%10&lt;=4 &amp;&amp; (n%100&lt;10 || n%100&gt;=20) ? 1 : 2)')</em>, <em>'ms': (u'Malay'</em>, <em>1</em>, <em>'0')</em>, <em>'mr': (u'Marathi'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'ug': (u'Uighur; Uyghur'</em>, <em>1</em>, <em>'0')</em>, <em>'af': (u'Afrikaans'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'sw': (u'Swahili'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'ak': (u'Akan'</em>, <em>2</em>, <em>'n &gt; 1')</em>, <em>'am': (u'Amharic'</em>, <em>2</em>, <em>'n &gt; 1')</em>, <em>'it': (u'Italian'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'an': (u'Aragonese'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'ar': (u'Arabic'</em>, <em>6</em>, <em>'n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100&gt;=3 &amp;&amp; n%100&lt;=10 ? 3 : n%100&gt;=11 ? 4 : 5')</em>, <em>'su': (u'Sundanese'</em>, <em>1</em>, <em>'0')</em>, <em>'zu': (u'Zulu'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'ia': (u'Interlingua (International Auxiliary Language Association)'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'az': (u'Azerbaijani'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'id': (u'Indonesian'</em>, <em>1</em>, <em>'0')</em>, <em>'bn_IN': (u'Bengali (India)'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'pap': (u'Papiamento'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'nl': (u'Dutch; Flemish'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'yo': (u'Yoruba'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'nn': (u'Norwegian Nynorsk; Nynorsk</em>, <em>Norwegian'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'nah': (u'Nahuatl languages'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'ne': (u'Nepali'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'csb': (u'Kashubian'</em>, <em>3</em>, <em>'n==1 ? 0 : n%10&gt;=2 &amp;&amp; n%10&lt;=4 &amp;&amp; (n%100&lt;10 || n%100&gt;=20) ? 1 : 2')</em>, <em>'nap': (u'Neapolitan'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'es': (u'Spanish; Castilian'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'so': (u'Somali'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'fr': (u'French'</em>, <em>2</em>, <em>'(n &gt; 1)')</em>, <em>'fy': (u'Frisian'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'sv': (u'Swedish'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'fa': (u'Persian'</em>, <em>1</em>, <em>'0')</em>, <em>'ff': (u'Fulah'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'mai': (u'Maithili'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'fi': (u'Finnish'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'fo': (u'Faroese'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'ka': (u'Georgian'</em>, <em>1</em>, <em>'0')</em>, <em>'kk': (u'Kazakh'</em>, <em>1</em>, <em>'0')</em>, <em>'sr': (u'Serbian'</em>, <em>3</em>, <em>'(n%10==1 &amp;&amp; n%100!=11 ? 0 : n%10&gt;=2 &amp;&amp; n%10&lt;=4 &amp;&amp; (n%100&lt;10 || n%100&gt;=20) ? 1 : 2)')</em>, <em>'sq': (u'Albanian'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'ko': (u'Korean'</em>, <em>1</em>, <em>'0')</em>, <em>'kn': (u'Kannada'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'km': (u'Central Khmer'</em>, <em>1</em>, <em>'0')</em>, <em>'st': (u'Sotho</em>, <em>Southern'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'sk': (u'Slovak'</em>, <em>3</em>, <em>'(n==1) ? 0 : (n&gt;=2 &amp;&amp; n&lt;=4) ? 1 : 2')</em>, <em>'si': (u'Sinhala; Sinhalese'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'kw': (u'Cornish'</em>, <em>4</em>, <em>'(n==1) ? 0 : (n==2) ? 1 : (n == 3) ? 2 : 3')</em>, <em>'ku': (u'Kurdish'</em>, <em>2</em>, <em>'(n != 1)')</em>, <em>'sl': (u'Slovenian'</em>, <em>4</em>, <em>'(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3)')</em>, <em>'ky': (u'Kirghiz; Kyrgyz'</em>, <em>1</em>, <em>'0')</em>, <em>'nb': (u'Bokm\xe5l</em>, <em>Norwegian; Norwegian Bokm\xe5l'</em>, <em>2</em>, <em>'(n != 1)')}</em><big>)</big><a class="headerlink" href="#translate.lang.data.simplify_to_common" title="Permalink to this definition">¶</a></dt>
<dd><p>Simplify language code to the most commonly used form for the
language, stripping country information for languages that tend
not to be localized differently for different countries</p>
</dd></dl>

<dl class="function">
<dt id="translate.lang.data.tr_lang">
<tt class="descclassname">translate.lang.data.</tt><tt class="descname">tr_lang</tt><big>(</big><em>langcode=None</em><big>)</big><a class="headerlink" href="#translate.lang.data.tr_lang" title="Permalink to this definition">¶</a></dt>
<dd><p>Gives a function that can translate a language name, even in the
form <tt class="docutils literal"><span class="pre">&quot;language</span> <span class="pre">(country)&quot;</span></tt>, into the language with iso code langcode,
or the system language if no language is specified.</p>
</dd></dl>

</div>
<div class="section" id="module-translate.lang.de">
<span id="de"></span><h2>de<a class="headerlink" href="#module-translate.lang.de" title="Permalink to this headline">¶</a></h2>
<p>This module represents the German language.</p>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://en.wikipedia.org/wiki/German_language">http://en.wikipedia.org/wiki/German_language</a></p>
</div>
<dl class="class">
<dt id="translate.lang.de.de">
<em class="property">class </em><tt class="descclassname">translate.lang.de.</tt><tt class="descname">de</tt><a class="headerlink" href="#translate.lang.de.de" title="Permalink to this definition">¶</a></dt>
<dd><p>This class represents German.</p>
<dl class="classmethod">
<dt id="translate.lang.de.de.alter_length">
<em class="property">classmethod </em><tt class="descname">alter_length</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.de.de.alter_length" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the given string by adding or removing characters as an
estimation of translation length (with English assumed as source
language).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.de.de.capsstart">
<em class="property">classmethod </em><tt class="descname">capsstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.de.de.capsstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a capital letter.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.de.de.character_iter">
<em class="property">classmethod </em><tt class="descname">character_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.de.de.character_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.de.de.characters">
<em class="property">classmethod </em><tt class="descname">characters</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.de.de.characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.de.de.length_difference">
<em class="property">classmethod </em><tt class="descname">length_difference</tt><big>(</big><em>length</em><big>)</big><a class="headerlink" href="#translate.lang.de.de.length_difference" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an estimate to a likely change in length relative to an
English string of length length.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.de.de.numstart">
<em class="property">classmethod </em><tt class="descname">numstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.de.de.numstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a mumeric value.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.de.de.punctranslate">
<em class="property">classmethod </em><tt class="descname">punctranslate</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.de.de.punctranslate" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the punctuation in a string according to the rules of the
language.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.de.de.sentence_iter">
<em class="property">classmethod </em><tt class="descname">sentence_iter</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.de.de.sentence_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the sentences in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.de.de.sentencere">
<tt class="descname">sentencere</tt><em class="property"> = &lt;_sre.SRE_Pattern object at 0x7ff0fe4a7700&gt;</em><a class="headerlink" href="#translate.lang.de.de.sentencere" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="translate.lang.de.de.sentences">
<em class="property">classmethod </em><tt class="descname">sentences</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.de.de.sentences" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of senteces in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.de.de.word_iter">
<em class="property">classmethod </em><tt class="descname">word_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.de.de.word_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the words in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.de.de.words">
<em class="property">classmethod </em><tt class="descname">words</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.de.de.words" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of words in text.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-translate.lang.el">
<span id="el"></span><h2>el<a class="headerlink" href="#module-translate.lang.el" title="Permalink to this headline">¶</a></h2>
<p>This module represents the Greek language.</p>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://en.wikipedia.org/wiki/Greek_language">http://en.wikipedia.org/wiki/Greek_language</a></p>
</div>
<dl class="class">
<dt id="translate.lang.el.el">
<em class="property">class </em><tt class="descclassname">translate.lang.el.</tt><tt class="descname">el</tt><a class="headerlink" href="#translate.lang.el.el" title="Permalink to this definition">¶</a></dt>
<dd><p>This class represents Greek.</p>
<dl class="classmethod">
<dt id="translate.lang.el.el.alter_length">
<em class="property">classmethod </em><tt class="descname">alter_length</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.el.el.alter_length" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the given string by adding or removing characters as an
estimation of translation length (with English assumed as source
language).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.el.el.capsstart">
<em class="property">classmethod </em><tt class="descname">capsstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.el.el.capsstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a capital letter.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.el.el.character_iter">
<em class="property">classmethod </em><tt class="descname">character_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.el.el.character_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.el.el.characters">
<em class="property">classmethod </em><tt class="descname">characters</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.el.el.characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.el.el.length_difference">
<em class="property">classmethod </em><tt class="descname">length_difference</tt><big>(</big><em>length</em><big>)</big><a class="headerlink" href="#translate.lang.el.el.length_difference" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an estimate to a likely change in length relative to an
English string of length length.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.el.el.numstart">
<em class="property">classmethod </em><tt class="descname">numstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.el.el.numstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a mumeric value.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.el.el.punctranslate">
<em class="property">classmethod </em><tt class="descname">punctranslate</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.el.el.punctranslate" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the punctuation in a string according to the rules of the
language.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.el.el.sentence_iter">
<em class="property">classmethod </em><tt class="descname">sentence_iter</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.el.el.sentence_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the sentences in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.el.el.sentencere">
<tt class="descname">sentencere</tt><em class="property"> = &lt;_sre.SRE_Pattern object at 0x7ff0ff0844b0&gt;</em><a class="headerlink" href="#translate.lang.el.el.sentencere" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="translate.lang.el.el.sentences">
<em class="property">classmethod </em><tt class="descname">sentences</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.el.el.sentences" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of senteces in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.el.el.word_iter">
<em class="property">classmethod </em><tt class="descname">word_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.el.el.word_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the words in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.el.el.words">
<em class="property">classmethod </em><tt class="descname">words</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.el.el.words" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of words in text.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-translate.lang.es">
<span id="es"></span><h2>es<a class="headerlink" href="#module-translate.lang.es" title="Permalink to this headline">¶</a></h2>
<p>This module represents the Spanish language.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">As it only has special case code for initial inverted punctuation,
it could also be used for Asturian, Galician, or Catalan.</p>
</div>
<dl class="class">
<dt id="translate.lang.es.es">
<em class="property">class </em><tt class="descclassname">translate.lang.es.</tt><tt class="descname">es</tt><a class="headerlink" href="#translate.lang.es.es" title="Permalink to this definition">¶</a></dt>
<dd><p>This class represents Spanish.</p>
<dl class="classmethod">
<dt id="translate.lang.es.es.alter_length">
<em class="property">classmethod </em><tt class="descname">alter_length</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.es.es.alter_length" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the given string by adding or removing characters as an
estimation of translation length (with English assumed as source
language).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.es.es.capsstart">
<em class="property">classmethod </em><tt class="descname">capsstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.es.es.capsstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a capital letter.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.es.es.character_iter">
<em class="property">classmethod </em><tt class="descname">character_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.es.es.character_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.es.es.characters">
<em class="property">classmethod </em><tt class="descname">characters</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.es.es.characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.es.es.length_difference">
<em class="property">classmethod </em><tt class="descname">length_difference</tt><big>(</big><em>length</em><big>)</big><a class="headerlink" href="#translate.lang.es.es.length_difference" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an estimate to a likely change in length relative to an
English string of length length.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.es.es.numstart">
<em class="property">classmethod </em><tt class="descname">numstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.es.es.numstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a mumeric value.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.es.es.punctranslate">
<em class="property">classmethod </em><tt class="descname">punctranslate</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.es.es.punctranslate" title="Permalink to this definition">¶</a></dt>
<dd><p>Implement some extra features for inverted punctuation.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.es.es.sentence_iter">
<em class="property">classmethod </em><tt class="descname">sentence_iter</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.es.es.sentence_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the sentences in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.es.es.sentencere">
<tt class="descname">sentencere</tt><em class="property"> = &lt;_sre.SRE_Pattern object at 0x7ff0fe4a7700&gt;</em><a class="headerlink" href="#translate.lang.es.es.sentencere" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="translate.lang.es.es.sentences">
<em class="property">classmethod </em><tt class="descname">sentences</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.es.es.sentences" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of senteces in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.es.es.word_iter">
<em class="property">classmethod </em><tt class="descname">word_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.es.es.word_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the words in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.es.es.words">
<em class="property">classmethod </em><tt class="descname">words</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.es.es.words" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of words in text.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-translate.lang.factory">
<span id="factory"></span><h2>factory<a class="headerlink" href="#module-translate.lang.factory" title="Permalink to this headline">¶</a></h2>
<p>This module provides a factory to instantiate language classes.</p>
<dl class="function">
<dt id="translate.lang.factory.getlanguage">
<tt class="descclassname">translate.lang.factory.</tt><tt class="descname">getlanguage</tt><big>(</big><em>code</em><big>)</big><a class="headerlink" href="#translate.lang.factory.getlanguage" title="Permalink to this definition">¶</a></dt>
<dd><p>This returns a language class.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>code</strong> &#8211; The ISO 639 language code</td>
</tr>
</tbody>
</table>
</dd></dl>

</div>
<div class="section" id="module-translate.lang.fa">
<span id="fa"></span><h2>fa<a class="headerlink" href="#module-translate.lang.fa" title="Permalink to this headline">¶</a></h2>
<p>This module represents the Persian language.</p>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://en.wikipedia.org/wiki/Persian_language">http://en.wikipedia.org/wiki/Persian_language</a></p>
</div>
<dl class="class">
<dt id="translate.lang.fa.fa">
<em class="property">class </em><tt class="descclassname">translate.lang.fa.</tt><tt class="descname">fa</tt><a class="headerlink" href="#translate.lang.fa.fa" title="Permalink to this definition">¶</a></dt>
<dd><p>This class represents Persian.</p>
<dl class="classmethod">
<dt id="translate.lang.fa.fa.alter_length">
<em class="property">classmethod </em><tt class="descname">alter_length</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.fa.fa.alter_length" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the given string by adding or removing characters as an
estimation of translation length (with English assumed as source
language).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.fa.fa.capsstart">
<em class="property">classmethod </em><tt class="descname">capsstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.fa.fa.capsstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a capital letter.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.fa.fa.character_iter">
<em class="property">classmethod </em><tt class="descname">character_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.fa.fa.character_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.fa.fa.characters">
<em class="property">classmethod </em><tt class="descname">characters</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.fa.fa.characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.fa.fa.length_difference">
<em class="property">classmethod </em><tt class="descname">length_difference</tt><big>(</big><em>length</em><big>)</big><a class="headerlink" href="#translate.lang.fa.fa.length_difference" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an estimate to a likely change in length relative to an
English string of length length.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.fa.fa.numstart">
<em class="property">classmethod </em><tt class="descname">numstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.fa.fa.numstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a mumeric value.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.fa.fa.punctranslate">
<em class="property">classmethod </em><tt class="descname">punctranslate</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.fa.fa.punctranslate" title="Permalink to this definition">¶</a></dt>
<dd><p>Implement &#8220;French&#8221; quotation marks.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.fa.fa.sentence_iter">
<em class="property">classmethod </em><tt class="descname">sentence_iter</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.fa.fa.sentence_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the sentences in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.fa.fa.sentencere">
<tt class="descname">sentencere</tt><em class="property"> = &lt;_sre.SRE_Pattern object at 0x7ff0fe4a7700&gt;</em><a class="headerlink" href="#translate.lang.fa.fa.sentencere" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="translate.lang.fa.fa.sentences">
<em class="property">classmethod </em><tt class="descname">sentences</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.fa.fa.sentences" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of senteces in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.fa.fa.word_iter">
<em class="property">classmethod </em><tt class="descname">word_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.fa.fa.word_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the words in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.fa.fa.words">
<em class="property">classmethod </em><tt class="descname">words</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.fa.fa.words" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of words in text.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-translate.lang.fi">
<span id="fi"></span><h2>fi<a class="headerlink" href="#module-translate.lang.fi" title="Permalink to this headline">¶</a></h2>
<p>This module represents the Finish language.</p>
<dl class="class">
<dt id="translate.lang.fi.fi">
<em class="property">class </em><tt class="descclassname">translate.lang.fi.</tt><tt class="descname">fi</tt><a class="headerlink" href="#translate.lang.fi.fi" title="Permalink to this definition">¶</a></dt>
<dd><p>This class represents Finish.</p>
<dl class="classmethod">
<dt id="translate.lang.fi.fi.alter_length">
<em class="property">classmethod </em><tt class="descname">alter_length</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.fi.fi.alter_length" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the given string by adding or removing characters as an
estimation of translation length (with English assumed as source
language).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.fi.fi.capsstart">
<em class="property">classmethod </em><tt class="descname">capsstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.fi.fi.capsstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a capital letter.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.fi.fi.character_iter">
<em class="property">classmethod </em><tt class="descname">character_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.fi.fi.character_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.fi.fi.characters">
<em class="property">classmethod </em><tt class="descname">characters</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.fi.fi.characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.fi.fi.length_difference">
<em class="property">classmethod </em><tt class="descname">length_difference</tt><big>(</big><em>length</em><big>)</big><a class="headerlink" href="#translate.lang.fi.fi.length_difference" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an estimate to a likely change in length relative to an
English string of length length.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.fi.fi.numstart">
<em class="property">classmethod </em><tt class="descname">numstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.fi.fi.numstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a mumeric value.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.fi.fi.punctranslate">
<em class="property">classmethod </em><tt class="descname">punctranslate</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.fi.fi.punctranslate" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the punctuation in a string according to the rules of the
language.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.fi.fi.sentence_iter">
<em class="property">classmethod </em><tt class="descname">sentence_iter</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.fi.fi.sentence_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the sentences in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.fi.fi.sentencere">
<tt class="descname">sentencere</tt><em class="property"> = &lt;_sre.SRE_Pattern object at 0x7ff0fe4a7700&gt;</em><a class="headerlink" href="#translate.lang.fi.fi.sentencere" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="translate.lang.fi.fi.sentences">
<em class="property">classmethod </em><tt class="descname">sentences</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.fi.fi.sentences" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of senteces in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.fi.fi.word_iter">
<em class="property">classmethod </em><tt class="descname">word_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.fi.fi.word_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the words in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.fi.fi.words">
<em class="property">classmethod </em><tt class="descname">words</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.fi.fi.words" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of words in text.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-translate.lang.fr">
<span id="fr"></span><h2>fr<a class="headerlink" href="#module-translate.lang.fr" title="Permalink to this headline">¶</a></h2>
<p>This module represents the French language.</p>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://en.wikipedia.org/wiki/French_language">http://en.wikipedia.org/wiki/French_language</a></p>
</div>
<dl class="class">
<dt id="translate.lang.fr.fr">
<em class="property">class </em><tt class="descclassname">translate.lang.fr.</tt><tt class="descname">fr</tt><a class="headerlink" href="#translate.lang.fr.fr" title="Permalink to this definition">¶</a></dt>
<dd><p>This class represents French.</p>
<dl class="classmethod">
<dt id="translate.lang.fr.fr.alter_length">
<em class="property">classmethod </em><tt class="descname">alter_length</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.fr.fr.alter_length" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the given string by adding or removing characters as an
estimation of translation length (with English assumed as source
language).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.fr.fr.capsstart">
<em class="property">classmethod </em><tt class="descname">capsstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.fr.fr.capsstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a capital letter.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.fr.fr.character_iter">
<em class="property">classmethod </em><tt class="descname">character_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.fr.fr.character_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.fr.fr.characters">
<em class="property">classmethod </em><tt class="descname">characters</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.fr.fr.characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.fr.fr.length_difference">
<em class="property">classmethod </em><tt class="descname">length_difference</tt><big>(</big><em>length</em><big>)</big><a class="headerlink" href="#translate.lang.fr.fr.length_difference" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an estimate to a likely change in length relative to an
English string of length length.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.fr.fr.numstart">
<em class="property">classmethod </em><tt class="descname">numstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.fr.fr.numstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a mumeric value.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.fr.fr.punctranslate">
<em class="property">classmethod </em><tt class="descname">punctranslate</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.fr.fr.punctranslate" title="Permalink to this definition">¶</a></dt>
<dd><p>Implement some extra features for quotation marks.</p>
<dl class="docutils">
<dt>Known shortcomings:</dt>
<dd><ul class="first last simple">
<li>% and $ are not touched yet for fear of variables</li>
<li>Double spaces might be introduced</li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.fr.fr.sentence_iter">
<em class="property">classmethod </em><tt class="descname">sentence_iter</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.fr.fr.sentence_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the sentences in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.fr.fr.sentencere">
<tt class="descname">sentencere</tt><em class="property"> = &lt;_sre.SRE_Pattern object at 0x7ff0fe4a7700&gt;</em><a class="headerlink" href="#translate.lang.fr.fr.sentencere" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="translate.lang.fr.fr.sentences">
<em class="property">classmethod </em><tt class="descname">sentences</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.fr.fr.sentences" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of senteces in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.fr.fr.word_iter">
<em class="property">classmethod </em><tt class="descname">word_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.fr.fr.word_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the words in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.fr.fr.words">
<em class="property">classmethod </em><tt class="descname">words</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.fr.fr.words" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of words in text.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-translate.lang.gu">
<span id="gu"></span><h2>gu<a class="headerlink" href="#module-translate.lang.gu" title="Permalink to this headline">¶</a></h2>
<p>This module represents the Gujarati language.</p>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://en.wikipedia.org/wiki/Gujarati_language">http://en.wikipedia.org/wiki/Gujarati_language</a></p>
</div>
<dl class="class">
<dt id="translate.lang.gu.gu">
<em class="property">class </em><tt class="descclassname">translate.lang.gu.</tt><tt class="descname">gu</tt><a class="headerlink" href="#translate.lang.gu.gu" title="Permalink to this definition">¶</a></dt>
<dd><p>This class represents Gujarati.</p>
<dl class="classmethod">
<dt id="translate.lang.gu.gu.alter_length">
<em class="property">classmethod </em><tt class="descname">alter_length</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.gu.gu.alter_length" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the given string by adding or removing characters as an
estimation of translation length (with English assumed as source
language).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.gu.gu.capsstart">
<em class="property">classmethod </em><tt class="descname">capsstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.gu.gu.capsstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a capital letter.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.gu.gu.character_iter">
<em class="property">classmethod </em><tt class="descname">character_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.gu.gu.character_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.gu.gu.characters">
<em class="property">classmethod </em><tt class="descname">characters</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.gu.gu.characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.gu.gu.length_difference">
<em class="property">classmethod </em><tt class="descname">length_difference</tt><big>(</big><em>length</em><big>)</big><a class="headerlink" href="#translate.lang.gu.gu.length_difference" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an estimate to a likely change in length relative to an
English string of length length.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.gu.gu.numstart">
<em class="property">classmethod </em><tt class="descname">numstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.gu.gu.numstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a mumeric value.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.gu.gu.punctranslate">
<em class="property">classmethod </em><tt class="descname">punctranslate</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.gu.gu.punctranslate" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the punctuation in a string according to the rules of the
language.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.gu.gu.sentence_iter">
<em class="property">classmethod </em><tt class="descname">sentence_iter</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.gu.gu.sentence_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the sentences in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.gu.gu.sentencere">
<tt class="descname">sentencere</tt><em class="property"> = &lt;_sre.SRE_Pattern object at 0x7ff0fe4a7700&gt;</em><a class="headerlink" href="#translate.lang.gu.gu.sentencere" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="translate.lang.gu.gu.sentences">
<em class="property">classmethod </em><tt class="descname">sentences</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.gu.gu.sentences" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of senteces in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.gu.gu.word_iter">
<em class="property">classmethod </em><tt class="descname">word_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.gu.gu.word_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the words in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.gu.gu.words">
<em class="property">classmethod </em><tt class="descname">words</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.gu.gu.words" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of words in text.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-translate.lang.he">
<span id="he"></span><h2>he<a class="headerlink" href="#module-translate.lang.he" title="Permalink to this headline">¶</a></h2>
<p>This module represents the Hebrew language.</p>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://en.wikipedia.org/wiki/Hebrew_language">http://en.wikipedia.org/wiki/Hebrew_language</a></p>
</div>
<dl class="class">
<dt id="translate.lang.he.he">
<em class="property">class </em><tt class="descclassname">translate.lang.he.</tt><tt class="descname">he</tt><a class="headerlink" href="#translate.lang.he.he" title="Permalink to this definition">¶</a></dt>
<dd><p>This class represents Hebrew.</p>
<dl class="classmethod">
<dt id="translate.lang.he.he.alter_length">
<em class="property">classmethod </em><tt class="descname">alter_length</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.he.he.alter_length" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the given string by adding or removing characters as an
estimation of translation length (with English assumed as source
language).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.he.he.capsstart">
<em class="property">classmethod </em><tt class="descname">capsstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.he.he.capsstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a capital letter.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.he.he.character_iter">
<em class="property">classmethod </em><tt class="descname">character_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.he.he.character_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.he.he.characters">
<em class="property">classmethod </em><tt class="descname">characters</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.he.he.characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.he.he.length_difference">
<em class="property">classmethod </em><tt class="descname">length_difference</tt><big>(</big><em>length</em><big>)</big><a class="headerlink" href="#translate.lang.he.he.length_difference" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an estimate to a likely change in length relative to an
English string of length length.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.he.he.numstart">
<em class="property">classmethod </em><tt class="descname">numstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.he.he.numstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a mumeric value.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.he.he.punctranslate">
<em class="property">classmethod </em><tt class="descname">punctranslate</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.he.he.punctranslate" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the punctuation in a string according to the rules of the
language.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.he.he.sentence_iter">
<em class="property">classmethod </em><tt class="descname">sentence_iter</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.he.he.sentence_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the sentences in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.he.he.sentencere">
<tt class="descname">sentencere</tt><em class="property"> = &lt;_sre.SRE_Pattern object at 0x7ff0fe4a7700&gt;</em><a class="headerlink" href="#translate.lang.he.he.sentencere" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="translate.lang.he.he.sentences">
<em class="property">classmethod </em><tt class="descname">sentences</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.he.he.sentences" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of senteces in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.he.he.word_iter">
<em class="property">classmethod </em><tt class="descname">word_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.he.he.word_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the words in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.he.he.words">
<em class="property">classmethod </em><tt class="descname">words</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.he.he.words" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of words in text.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-translate.lang.hi">
<span id="hi"></span><h2>hi<a class="headerlink" href="#module-translate.lang.hi" title="Permalink to this headline">¶</a></h2>
<p>This module represents the Hindi language.</p>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://en.wikipedia.org/wiki/Hindi_language">http://en.wikipedia.org/wiki/Hindi_language</a></p>
</div>
<dl class="class">
<dt id="translate.lang.hi.hi">
<em class="property">class </em><tt class="descclassname">translate.lang.hi.</tt><tt class="descname">hi</tt><a class="headerlink" href="#translate.lang.hi.hi" title="Permalink to this definition">¶</a></dt>
<dd><p>This class represents Hindi.</p>
<dl class="classmethod">
<dt id="translate.lang.hi.hi.alter_length">
<em class="property">classmethod </em><tt class="descname">alter_length</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.hi.hi.alter_length" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the given string by adding or removing characters as an
estimation of translation length (with English assumed as source
language).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.hi.hi.capsstart">
<em class="property">classmethod </em><tt class="descname">capsstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.hi.hi.capsstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a capital letter.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.hi.hi.character_iter">
<em class="property">classmethod </em><tt class="descname">character_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.hi.hi.character_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.hi.hi.characters">
<em class="property">classmethod </em><tt class="descname">characters</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.hi.hi.characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.hi.hi.length_difference">
<em class="property">classmethod </em><tt class="descname">length_difference</tt><big>(</big><em>length</em><big>)</big><a class="headerlink" href="#translate.lang.hi.hi.length_difference" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an estimate to a likely change in length relative to an
English string of length length.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.hi.hi.numstart">
<em class="property">classmethod </em><tt class="descname">numstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.hi.hi.numstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a mumeric value.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.hi.hi.punctranslate">
<em class="property">classmethod </em><tt class="descname">punctranslate</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.hi.hi.punctranslate" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the punctuation in a string according to the rules of the
language.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.hi.hi.sentence_iter">
<em class="property">classmethod </em><tt class="descname">sentence_iter</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.hi.hi.sentence_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the sentences in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.hi.hi.sentencere">
<tt class="descname">sentencere</tt><em class="property"> = &lt;_sre.SRE_Pattern object at 0x7ff0fe4a7700&gt;</em><a class="headerlink" href="#translate.lang.hi.hi.sentencere" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="translate.lang.hi.hi.sentences">
<em class="property">classmethod </em><tt class="descname">sentences</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.hi.hi.sentences" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of senteces in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.hi.hi.word_iter">
<em class="property">classmethod </em><tt class="descname">word_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.hi.hi.word_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the words in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.hi.hi.words">
<em class="property">classmethod </em><tt class="descname">words</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.hi.hi.words" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of words in text.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-translate.lang.hy">
<span id="hy"></span><h2>hy<a class="headerlink" href="#module-translate.lang.hy" title="Permalink to this headline">¶</a></h2>
<p>This module represents the Armenian language.</p>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://en.wikipedia.org/wiki/Armenian_language">http://en.wikipedia.org/wiki/Armenian_language</a></p>
</div>
<dl class="class">
<dt id="translate.lang.hy.hy">
<em class="property">class </em><tt class="descclassname">translate.lang.hy.</tt><tt class="descname">hy</tt><a class="headerlink" href="#translate.lang.hy.hy" title="Permalink to this definition">¶</a></dt>
<dd><p>This class represents Armenian.</p>
<dl class="classmethod">
<dt id="translate.lang.hy.hy.alter_length">
<em class="property">classmethod </em><tt class="descname">alter_length</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.hy.hy.alter_length" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the given string by adding or removing characters as an
estimation of translation length (with English assumed as source
language).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.hy.hy.capsstart">
<em class="property">classmethod </em><tt class="descname">capsstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.hy.hy.capsstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a capital letter.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.hy.hy.character_iter">
<em class="property">classmethod </em><tt class="descname">character_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.hy.hy.character_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.hy.hy.characters">
<em class="property">classmethod </em><tt class="descname">characters</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.hy.hy.characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.hy.hy.length_difference">
<em class="property">classmethod </em><tt class="descname">length_difference</tt><big>(</big><em>length</em><big>)</big><a class="headerlink" href="#translate.lang.hy.hy.length_difference" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an estimate to a likely change in length relative to an
English string of length length.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.hy.hy.numstart">
<em class="property">classmethod </em><tt class="descname">numstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.hy.hy.numstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a mumeric value.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.hy.hy.punctranslate">
<em class="property">classmethod </em><tt class="descname">punctranslate</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.hy.hy.punctranslate" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the punctuation in a string according to the rules of the
language.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.hy.hy.sentence_iter">
<em class="property">classmethod </em><tt class="descname">sentence_iter</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.hy.hy.sentence_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the sentences in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.hy.hy.sentencere">
<tt class="descname">sentencere</tt><em class="property"> = &lt;_sre.SRE_Pattern object at 0x7ff0ff532f10&gt;</em><a class="headerlink" href="#translate.lang.hy.hy.sentencere" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="translate.lang.hy.hy.sentences">
<em class="property">classmethod </em><tt class="descname">sentences</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.hy.hy.sentences" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of senteces in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.hy.hy.word_iter">
<em class="property">classmethod </em><tt class="descname">word_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.hy.hy.word_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the words in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.hy.hy.words">
<em class="property">classmethod </em><tt class="descname">words</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.hy.hy.words" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of words in text.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-translate.lang.identify">
<span id="identify"></span><h2>identify<a class="headerlink" href="#module-translate.lang.identify" title="Permalink to this headline">¶</a></h2>
<p>This module contains functions for identifying languages based on language
models.</p>
</div>
<div class="section" id="module-translate.lang.ja">
<span id="ja"></span><h2>ja<a class="headerlink" href="#module-translate.lang.ja" title="Permalink to this headline">¶</a></h2>
<p>This module represents the Japanese language.</p>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://en.wikipedia.org/wiki/Japanese_language">http://en.wikipedia.org/wiki/Japanese_language</a></p>
</div>
<dl class="class">
<dt id="translate.lang.ja.ja">
<em class="property">class </em><tt class="descclassname">translate.lang.ja.</tt><tt class="descname">ja</tt><a class="headerlink" href="#translate.lang.ja.ja" title="Permalink to this definition">¶</a></dt>
<dd><p>This class represents Japanese.</p>
<dl class="classmethod">
<dt id="translate.lang.ja.ja.alter_length">
<em class="property">classmethod </em><tt class="descname">alter_length</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ja.ja.alter_length" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the given string by adding or removing characters as an
estimation of translation length (with English assumed as source
language).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ja.ja.capsstart">
<em class="property">classmethod </em><tt class="descname">capsstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ja.ja.capsstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a capital letter.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ja.ja.character_iter">
<em class="property">classmethod </em><tt class="descname">character_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ja.ja.character_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ja.ja.characters">
<em class="property">classmethod </em><tt class="descname">characters</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ja.ja.characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ja.ja.length_difference">
<em class="property">classmethod </em><tt class="descname">length_difference</tt><big>(</big><em>length</em><big>)</big><a class="headerlink" href="#translate.lang.ja.ja.length_difference" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an estimate to a likely change in length relative to an
English string of length length.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ja.ja.numstart">
<em class="property">classmethod </em><tt class="descname">numstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ja.ja.numstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a mumeric value.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ja.ja.punctranslate">
<em class="property">classmethod </em><tt class="descname">punctranslate</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ja.ja.punctranslate" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the punctuation in a string according to the rules of the
language.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ja.ja.sentence_iter">
<em class="property">classmethod </em><tt class="descname">sentence_iter</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.ja.ja.sentence_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the sentences in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.ja.ja.sentencere">
<tt class="descname">sentencere</tt><em class="property"> = &lt;_sre.SRE_Pattern object at 0x7ff0fc887bf0&gt;</em><a class="headerlink" href="#translate.lang.ja.ja.sentencere" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ja.ja.sentences">
<em class="property">classmethod </em><tt class="descname">sentences</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.ja.ja.sentences" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of senteces in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ja.ja.word_iter">
<em class="property">classmethod </em><tt class="descname">word_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ja.ja.word_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the words in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ja.ja.words">
<em class="property">classmethod </em><tt class="descname">words</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ja.ja.words" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of words in text.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-translate.lang.km">
<span id="km"></span><h2>km<a class="headerlink" href="#module-translate.lang.km" title="Permalink to this headline">¶</a></h2>
<p>This module represents the Khmer language.</p>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://en.wikipedia.org/wiki/Khmer_language">http://en.wikipedia.org/wiki/Khmer_language</a></p>
</div>
<dl class="class">
<dt id="translate.lang.km.km">
<em class="property">class </em><tt class="descclassname">translate.lang.km.</tt><tt class="descname">km</tt><a class="headerlink" href="#translate.lang.km.km" title="Permalink to this definition">¶</a></dt>
<dd><p>This class represents Khmer.</p>
<dl class="classmethod">
<dt id="translate.lang.km.km.alter_length">
<em class="property">classmethod </em><tt class="descname">alter_length</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.km.km.alter_length" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the given string by adding or removing characters as an
estimation of translation length (with English assumed as source
language).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.km.km.capsstart">
<em class="property">classmethod </em><tt class="descname">capsstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.km.km.capsstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a capital letter.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.km.km.character_iter">
<em class="property">classmethod </em><tt class="descname">character_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.km.km.character_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.km.km.characters">
<em class="property">classmethod </em><tt class="descname">characters</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.km.km.characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of characters in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.km.km.khmerpunc">
<tt class="descname">khmerpunc</tt><em class="property"> = u'\u17d4\u17d5\u17d6\u17d8'</em><a class="headerlink" href="#translate.lang.km.km.khmerpunc" title="Permalink to this definition">¶</a></dt>
<dd><p>These marks are only used for Khmer.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.km.km.length_difference">
<em class="property">classmethod </em><tt class="descname">length_difference</tt><big>(</big><em>length</em><big>)</big><a class="headerlink" href="#translate.lang.km.km.length_difference" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an estimate to a likely change in length relative to an
English string of length length.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.km.km.numstart">
<em class="property">classmethod </em><tt class="descname">numstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.km.km.numstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a mumeric value.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.km.km.punctranslate">
<em class="property">classmethod </em><tt class="descname">punctranslate</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.km.km.punctranslate" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the punctuation in a string according to the rules of the
language.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.km.km.sentence_iter">
<em class="property">classmethod </em><tt class="descname">sentence_iter</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.km.km.sentence_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the sentences in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.km.km.sentencere">
<tt class="descname">sentencere</tt><em class="property"> = &lt;_sre.SRE_Pattern object at 0x7ff0fe2d6270&gt;</em><a class="headerlink" href="#translate.lang.km.km.sentencere" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="translate.lang.km.km.sentences">
<em class="property">classmethod </em><tt class="descname">sentences</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.km.km.sentences" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of senteces in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.km.km.word_iter">
<em class="property">classmethod </em><tt class="descname">word_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.km.km.word_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the words in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.km.km.words">
<em class="property">classmethod </em><tt class="descname">words</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.km.km.words" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of words in text.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-translate.lang.kn">
<span id="kn"></span><h2>kn<a class="headerlink" href="#module-translate.lang.kn" title="Permalink to this headline">¶</a></h2>
<p>This module represents the Kannada language.</p>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://en.wikipedia.org/wiki/Kannada_language">http://en.wikipedia.org/wiki/Kannada_language</a></p>
</div>
<dl class="class">
<dt id="translate.lang.kn.kn">
<em class="property">class </em><tt class="descclassname">translate.lang.kn.</tt><tt class="descname">kn</tt><a class="headerlink" href="#translate.lang.kn.kn" title="Permalink to this definition">¶</a></dt>
<dd><p>This class represents Kannada.</p>
<dl class="classmethod">
<dt id="translate.lang.kn.kn.alter_length">
<em class="property">classmethod </em><tt class="descname">alter_length</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.kn.kn.alter_length" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the given string by adding or removing characters as an
estimation of translation length (with English assumed as source
language).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.kn.kn.capsstart">
<em class="property">classmethod </em><tt class="descname">capsstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.kn.kn.capsstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a capital letter.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.kn.kn.character_iter">
<em class="property">classmethod </em><tt class="descname">character_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.kn.kn.character_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.kn.kn.characters">
<em class="property">classmethod </em><tt class="descname">characters</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.kn.kn.characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.kn.kn.length_difference">
<em class="property">classmethod </em><tt class="descname">length_difference</tt><big>(</big><em>length</em><big>)</big><a class="headerlink" href="#translate.lang.kn.kn.length_difference" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an estimate to a likely change in length relative to an
English string of length length.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.kn.kn.numstart">
<em class="property">classmethod </em><tt class="descname">numstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.kn.kn.numstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a mumeric value.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.kn.kn.punctranslate">
<em class="property">classmethod </em><tt class="descname">punctranslate</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.kn.kn.punctranslate" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the punctuation in a string according to the rules of the
language.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.kn.kn.sentence_iter">
<em class="property">classmethod </em><tt class="descname">sentence_iter</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.kn.kn.sentence_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the sentences in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.kn.kn.sentencere">
<tt class="descname">sentencere</tt><em class="property"> = &lt;_sre.SRE_Pattern object at 0x7ff0fe4a7700&gt;</em><a class="headerlink" href="#translate.lang.kn.kn.sentencere" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="translate.lang.kn.kn.sentences">
<em class="property">classmethod </em><tt class="descname">sentences</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.kn.kn.sentences" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of senteces in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.kn.kn.word_iter">
<em class="property">classmethod </em><tt class="descname">word_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.kn.kn.word_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the words in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.kn.kn.words">
<em class="property">classmethod </em><tt class="descname">words</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.kn.kn.words" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of words in text.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-translate.lang.ko">
<span id="ko"></span><h2>ko<a class="headerlink" href="#module-translate.lang.ko" title="Permalink to this headline">¶</a></h2>
<p>This module represents the Korean language.</p>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://en.wikipedia.org/wiki/Korean_language">http://en.wikipedia.org/wiki/Korean_language</a></p>
</div>
<dl class="class">
<dt id="translate.lang.ko.ko">
<em class="property">class </em><tt class="descclassname">translate.lang.ko.</tt><tt class="descname">ko</tt><a class="headerlink" href="#translate.lang.ko.ko" title="Permalink to this definition">¶</a></dt>
<dd><p>This class represents Korean.</p>
<dl class="classmethod">
<dt id="translate.lang.ko.ko.alter_length">
<em class="property">classmethod </em><tt class="descname">alter_length</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ko.ko.alter_length" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the given string by adding or removing characters as an
estimation of translation length (with English assumed as source
language).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ko.ko.capsstart">
<em class="property">classmethod </em><tt class="descname">capsstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ko.ko.capsstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a capital letter.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ko.ko.character_iter">
<em class="property">classmethod </em><tt class="descname">character_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ko.ko.character_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ko.ko.characters">
<em class="property">classmethod </em><tt class="descname">characters</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ko.ko.characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ko.ko.length_difference">
<em class="property">classmethod </em><tt class="descname">length_difference</tt><big>(</big><em>length</em><big>)</big><a class="headerlink" href="#translate.lang.ko.ko.length_difference" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an estimate to a likely change in length relative to an
English string of length length.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ko.ko.numstart">
<em class="property">classmethod </em><tt class="descname">numstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ko.ko.numstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a mumeric value.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ko.ko.punctranslate">
<em class="property">classmethod </em><tt class="descname">punctranslate</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ko.ko.punctranslate" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the punctuation in a string according to the rules of the
language.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ko.ko.sentence_iter">
<em class="property">classmethod </em><tt class="descname">sentence_iter</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.ko.ko.sentence_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the sentences in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.ko.ko.sentencere">
<tt class="descname">sentencere</tt><em class="property"> = &lt;_sre.SRE_Pattern object at 0x7ff0fe4a7700&gt;</em><a class="headerlink" href="#translate.lang.ko.ko.sentencere" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ko.ko.sentences">
<em class="property">classmethod </em><tt class="descname">sentences</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.ko.ko.sentences" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of senteces in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ko.ko.word_iter">
<em class="property">classmethod </em><tt class="descname">word_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ko.ko.word_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the words in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ko.ko.words">
<em class="property">classmethod </em><tt class="descname">words</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ko.ko.words" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of words in text.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-translate.lang.ml">
<span id="ml"></span><h2>ml<a class="headerlink" href="#module-translate.lang.ml" title="Permalink to this headline">¶</a></h2>
<p>This module represents the Malayalam language.</p>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://en.wikipedia.org/wiki/Malayalam_language">http://en.wikipedia.org/wiki/Malayalam_language</a></p>
</div>
<dl class="class">
<dt id="translate.lang.ml.ml">
<em class="property">class </em><tt class="descclassname">translate.lang.ml.</tt><tt class="descname">ml</tt><a class="headerlink" href="#translate.lang.ml.ml" title="Permalink to this definition">¶</a></dt>
<dd><p>This class represents Malayalam.</p>
<dl class="classmethod">
<dt id="translate.lang.ml.ml.alter_length">
<em class="property">classmethod </em><tt class="descname">alter_length</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ml.ml.alter_length" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the given string by adding or removing characters as an
estimation of translation length (with English assumed as source
language).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ml.ml.capsstart">
<em class="property">classmethod </em><tt class="descname">capsstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ml.ml.capsstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a capital letter.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ml.ml.character_iter">
<em class="property">classmethod </em><tt class="descname">character_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ml.ml.character_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ml.ml.characters">
<em class="property">classmethod </em><tt class="descname">characters</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ml.ml.characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ml.ml.length_difference">
<em class="property">classmethod </em><tt class="descname">length_difference</tt><big>(</big><em>length</em><big>)</big><a class="headerlink" href="#translate.lang.ml.ml.length_difference" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an estimate to a likely change in length relative to an
English string of length length.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ml.ml.numstart">
<em class="property">classmethod </em><tt class="descname">numstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ml.ml.numstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a mumeric value.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ml.ml.punctranslate">
<em class="property">classmethod </em><tt class="descname">punctranslate</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ml.ml.punctranslate" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the punctuation in a string according to the rules of the
language.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ml.ml.sentence_iter">
<em class="property">classmethod </em><tt class="descname">sentence_iter</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.ml.ml.sentence_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the sentences in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.ml.ml.sentencere">
<tt class="descname">sentencere</tt><em class="property"> = &lt;_sre.SRE_Pattern object at 0x7ff0fe4a7700&gt;</em><a class="headerlink" href="#translate.lang.ml.ml.sentencere" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ml.ml.sentences">
<em class="property">classmethod </em><tt class="descname">sentences</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.ml.ml.sentences" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of senteces in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ml.ml.word_iter">
<em class="property">classmethod </em><tt class="descname">word_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ml.ml.word_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the words in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ml.ml.words">
<em class="property">classmethod </em><tt class="descname">words</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ml.ml.words" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of words in text.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-translate.lang.mr">
<span id="mr"></span><h2>mr<a class="headerlink" href="#module-translate.lang.mr" title="Permalink to this headline">¶</a></h2>
<p>This module represents the Marathi language.</p>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://en.wikipedia.org/wiki/Marathi_language">http://en.wikipedia.org/wiki/Marathi_language</a></p>
</div>
<dl class="class">
<dt id="translate.lang.mr.mr">
<em class="property">class </em><tt class="descclassname">translate.lang.mr.</tt><tt class="descname">mr</tt><a class="headerlink" href="#translate.lang.mr.mr" title="Permalink to this definition">¶</a></dt>
<dd><p>This class represents Marathi.</p>
<dl class="classmethod">
<dt id="translate.lang.mr.mr.alter_length">
<em class="property">classmethod </em><tt class="descname">alter_length</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.mr.mr.alter_length" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the given string by adding or removing characters as an
estimation of translation length (with English assumed as source
language).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.mr.mr.capsstart">
<em class="property">classmethod </em><tt class="descname">capsstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.mr.mr.capsstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a capital letter.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.mr.mr.character_iter">
<em class="property">classmethod </em><tt class="descname">character_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.mr.mr.character_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.mr.mr.characters">
<em class="property">classmethod </em><tt class="descname">characters</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.mr.mr.characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.mr.mr.length_difference">
<em class="property">classmethod </em><tt class="descname">length_difference</tt><big>(</big><em>length</em><big>)</big><a class="headerlink" href="#translate.lang.mr.mr.length_difference" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an estimate to a likely change in length relative to an
English string of length length.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.mr.mr.numstart">
<em class="property">classmethod </em><tt class="descname">numstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.mr.mr.numstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a mumeric value.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.mr.mr.punctranslate">
<em class="property">classmethod </em><tt class="descname">punctranslate</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.mr.mr.punctranslate" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the punctuation in a string according to the rules of the
language.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.mr.mr.sentence_iter">
<em class="property">classmethod </em><tt class="descname">sentence_iter</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.mr.mr.sentence_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the sentences in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.mr.mr.sentencere">
<tt class="descname">sentencere</tt><em class="property"> = &lt;_sre.SRE_Pattern object at 0x7ff0fe4a7700&gt;</em><a class="headerlink" href="#translate.lang.mr.mr.sentencere" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="translate.lang.mr.mr.sentences">
<em class="property">classmethod </em><tt class="descname">sentences</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.mr.mr.sentences" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of senteces in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.mr.mr.word_iter">
<em class="property">classmethod </em><tt class="descname">word_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.mr.mr.word_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the words in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.mr.mr.words">
<em class="property">classmethod </em><tt class="descname">words</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.mr.mr.words" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of words in text.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-translate.lang.ne">
<span id="ne"></span><h2>ne<a class="headerlink" href="#module-translate.lang.ne" title="Permalink to this headline">¶</a></h2>
<p>This module represents the Nepali language.</p>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://en.wikipedia.org/wiki/Nepali_language">http://en.wikipedia.org/wiki/Nepali_language</a></p>
</div>
<dl class="class">
<dt id="translate.lang.ne.ne">
<em class="property">class </em><tt class="descclassname">translate.lang.ne.</tt><tt class="descname">ne</tt><a class="headerlink" href="#translate.lang.ne.ne" title="Permalink to this definition">¶</a></dt>
<dd><p>This class represents Nepali.</p>
<dl class="classmethod">
<dt id="translate.lang.ne.ne.alter_length">
<em class="property">classmethod </em><tt class="descname">alter_length</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ne.ne.alter_length" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the given string by adding or removing characters as an
estimation of translation length (with English assumed as source
language).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ne.ne.capsstart">
<em class="property">classmethod </em><tt class="descname">capsstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ne.ne.capsstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a capital letter.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ne.ne.character_iter">
<em class="property">classmethod </em><tt class="descname">character_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ne.ne.character_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ne.ne.characters">
<em class="property">classmethod </em><tt class="descname">characters</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ne.ne.characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ne.ne.length_difference">
<em class="property">classmethod </em><tt class="descname">length_difference</tt><big>(</big><em>length</em><big>)</big><a class="headerlink" href="#translate.lang.ne.ne.length_difference" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an estimate to a likely change in length relative to an
English string of length length.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ne.ne.numstart">
<em class="property">classmethod </em><tt class="descname">numstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ne.ne.numstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a mumeric value.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ne.ne.punctranslate">
<em class="property">classmethod </em><tt class="descname">punctranslate</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ne.ne.punctranslate" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the punctuation in a string according to the rules of the
language.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ne.ne.sentence_iter">
<em class="property">classmethod </em><tt class="descname">sentence_iter</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.ne.ne.sentence_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the sentences in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.ne.ne.sentencere">
<tt class="descname">sentencere</tt><em class="property"> = &lt;_sre.SRE_Pattern object at 0x7ff0fe4010a0&gt;</em><a class="headerlink" href="#translate.lang.ne.ne.sentencere" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ne.ne.sentences">
<em class="property">classmethod </em><tt class="descname">sentences</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.ne.ne.sentences" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of senteces in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ne.ne.word_iter">
<em class="property">classmethod </em><tt class="descname">word_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ne.ne.word_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the words in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ne.ne.words">
<em class="property">classmethod </em><tt class="descname">words</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ne.ne.words" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of words in text.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-translate.lang.ngram">
<span id="ngram"></span><h2>ngram<a class="headerlink" href="#module-translate.lang.ngram" title="Permalink to this headline">¶</a></h2>
<p>Ngram models for language guessing.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">Orignal code from <a class="reference external" href="http://thomas.mangin.me.uk/data/source/ngram.py">http://thomas.mangin.me.uk/data/source/ngram.py</a></p>
</div>
</div>
<div class="section" id="module-translate.lang.pa">
<span id="pa"></span><h2>pa<a class="headerlink" href="#module-translate.lang.pa" title="Permalink to this headline">¶</a></h2>
<p>This module represents the Punjabi language.</p>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://en.wikipedia.org/wiki/Punjabi_language">http://en.wikipedia.org/wiki/Punjabi_language</a></p>
</div>
<dl class="class">
<dt id="translate.lang.pa.pa">
<em class="property">class </em><tt class="descclassname">translate.lang.pa.</tt><tt class="descname">pa</tt><a class="headerlink" href="#translate.lang.pa.pa" title="Permalink to this definition">¶</a></dt>
<dd><p>This class represents Punjabi.</p>
<dl class="classmethod">
<dt id="translate.lang.pa.pa.alter_length">
<em class="property">classmethod </em><tt class="descname">alter_length</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.pa.pa.alter_length" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the given string by adding or removing characters as an
estimation of translation length (with English assumed as source
language).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.pa.pa.capsstart">
<em class="property">classmethod </em><tt class="descname">capsstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.pa.pa.capsstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a capital letter.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.pa.pa.character_iter">
<em class="property">classmethod </em><tt class="descname">character_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.pa.pa.character_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.pa.pa.characters">
<em class="property">classmethod </em><tt class="descname">characters</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.pa.pa.characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.pa.pa.length_difference">
<em class="property">classmethod </em><tt class="descname">length_difference</tt><big>(</big><em>length</em><big>)</big><a class="headerlink" href="#translate.lang.pa.pa.length_difference" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an estimate to a likely change in length relative to an
English string of length length.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.pa.pa.numstart">
<em class="property">classmethod </em><tt class="descname">numstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.pa.pa.numstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a mumeric value.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.pa.pa.punctranslate">
<em class="property">classmethod </em><tt class="descname">punctranslate</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.pa.pa.punctranslate" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the punctuation in a string according to the rules of the
language.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.pa.pa.sentence_iter">
<em class="property">classmethod </em><tt class="descname">sentence_iter</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.pa.pa.sentence_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the sentences in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.pa.pa.sentencere">
<tt class="descname">sentencere</tt><em class="property"> = &lt;_sre.SRE_Pattern object at 0x7ff0ffe43480&gt;</em><a class="headerlink" href="#translate.lang.pa.pa.sentencere" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="translate.lang.pa.pa.sentences">
<em class="property">classmethod </em><tt class="descname">sentences</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.pa.pa.sentences" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of senteces in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.pa.pa.word_iter">
<em class="property">classmethod </em><tt class="descname">word_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.pa.pa.word_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the words in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.pa.pa.words">
<em class="property">classmethod </em><tt class="descname">words</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.pa.pa.words" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of words in text.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-translate.lang.poedit">
<span id="poedit"></span><h2>poedit<a class="headerlink" href="#module-translate.lang.poedit" title="Permalink to this headline">¶</a></h2>
<p>Functions to manage Poedit&#8217;s language features.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">The ISO 639 maps are from Poedit&#8217;s</p>
</div>
<p><a class="reference external" href="https://github.com/vslavik/poedit/blob/v1.4.2/src/isocodes.cpp#L36-227">isocode.cpp</a> (v1.4.2)
to ensure that we match currently released versions of Poedit.</p>
<dl class="data">
<dt id="translate.lang.poedit.dialects">
<tt class="descclassname">translate.lang.poedit.</tt><tt class="descname">dialects</tt><em class="property"> = {'Portuguese': {'BRAZIL': 'pt_BR', 'None': 'pt', 'PORTUGAL': 'pt'}, 'Chinese': {'TAIWAN': 'zh_TW', 'CHINA': 'zh_CN', 'None': 'zh_CN'}, 'English': {'UNITED KINGDOM': 'en_GB', 'None': 'en', 'SOUTH AFRICA': 'en_ZA'}}</em><a class="headerlink" href="#translate.lang.poedit.dialects" title="Permalink to this definition">¶</a></dt>
<dd><p>Language dialects based on ISO 3166 country names, &#8216;None&#8217; is the
default fallback</p>
</dd></dl>

<dl class="function">
<dt id="translate.lang.poedit.isocode">
<tt class="descclassname">translate.lang.poedit.</tt><tt class="descname">isocode</tt><big>(</big><em>language</em>, <em>country=None</em><big>)</big><a class="headerlink" href="#translate.lang.poedit.isocode" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a language code for the given Poedit language name.</p>
<p>Poedit uses language and country names in the PO header entries:</p>
<ul class="simple">
<li>X-Poedit-Language</li>
<li>X-Poedit-Country</li>
</ul>
<p>This function converts the supplied language name into the required ISO 639
code. If needed, in the case of <a class="reference internal" href="#translate.lang.poedit.dialects" title="translate.lang.poedit.dialects"><tt class="xref py py-data docutils literal"><span class="pre">dialects</span></tt></a>, the country name is used
to create an xx_YY style dialect code.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>language</strong> (<em>String</em>) &#8211; Language name</li>
<li><strong>country</strong> (<em>String</em>) &#8211; Country name</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">ISO 639 language code</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last">String</p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="data">
<dt id="translate.lang.poedit.lang_codes">
<tt class="descclassname">translate.lang.poedit.</tt><tt class="descname">lang_codes</tt><em class="property"> = {'vi': 'Vietnamese', 'gu': 'Gujarati', 'ch': 'Chamorro', 'co': 'Corsican', 'ca': 'Catalan', 'xh': 'Xhosa', 'ce': 'Chechen', 'ts': 'Tsonga', 'sm': 'Samoan', 'cy': 'Welsh', 'en': 'English', 'ga': 'Irish', 'cs': 'Czech', 'gn': 'Guarani', 'gl': 'Galician', 'cv': 'Chuvash', 'cu': 'Church Slavic', 'ps': 'Pashto, Pushto', 'lb': 'Letzeburgesch', 'pt': 'Portuguese', 'la': 'Latin', 'ln': 'Lingala', 'lo': 'Lao', 'tt': 'Tatar', 'tr': 'Turkish', 'tl': 'Tagalog', 'uk': 'Ukrainian', 'lv': 'Latvian', 'to': 'Tonga', 'lt': 'Lithuanian', 'pa': 'Panjabi', 'sw': 'Swahili', 'tk': 'Turkmen', 'jw': 'Javanese', 'ti': 'Tigrinya', 'tg': 'Tajik', 'pi': 'Pali', 'ia': 'Interlingua', 'pl': 'Polish', 'ta': 'Tamil', 'hz': 'Herero', 'zh': 'Chinese', 'hy': 'Armenian', 'th': 'Thai', 'yo': 'Yoruba', 'hr': 'Croatian', 'iu': 'Inuktitut', 'de': 'German', 'om': '(Afan) Oromo', 'da': 'Danish', 'za': 'Zhuang', 'hi': 'Hindi', 'dz': 'Dzongkha', 'ho': 'Hiri Motu', 'st': 'Sesotho', 'qu': 'Quechua', 'ha': 'Hausa', 'rn': 'Rundi', 'he': 'Hebrew', 'mg': 'Malagasy', 'te': 'Telugu', 'fur': 'Friulian', 'uz': 'Uzbek', 'sa': 'Sanskrit', 'ml': 'Malayalam', 'mo': 'Moldavian', 'mn': 'Mongolian', 'mi': 'Maori', 'ik': 'Inupiaq', 'mk': 'Macedonian', 'ur': 'Urdu', 'mt': 'Maltese', 'sr': 'Serbian', 'gd': 'Gaelic', 'sk': 'Slovak', 'ms': 'Malay', 'mr': 'Marathi', 'ug': 'Uighur', 'tw': 'Twi', 'my': 'Burmese', 'sq': 'Albanian', 'aa': 'Afar', 'el': 'Greek', 'eo': 'Esperanto', 'ab': 'Abkhazian', 'ae': 'Avestan', 'ss': 'Siswati', 'af': 'Afrikaans', 'tn': 'Setswana', 'oc': 'Occitan', 'is': 'Icelandic', 'am': 'Amharic', 'it': 'Italian', 'mh': 'Marshall', 'eu': 'Basque', 'as': 'Assamese', 'ar': 'Arabic', 'sg': 'Sangro', 'su': 'Sundanese', 'zu': 'Zulu', 'ay': 'Aymara', 'et': 'Estonian', 'az': 'Azerbaijani', 'ie': 'Interlingue', 'id': 'Indonesian', 'es': 'Spanish', 'ru': 'Russian', 'rw': 'Kinyarwanda', 'nl': 'Dutch', 'nn': 'Norwegian Nynorsk', 'na': 'Nauru', 'nb': 'Norwegian Bokmal', 'ne': 'Nepali', 'ng': 'Ndonga', 'ny': 'Chichewa; Nyanja', 'vo': 'Volapuk', 'rm': 'Rhaeto-Romance', 'nr': 'Ndebele, South', 'ro': 'Romanian', 'yi': 'Yiddish', 'nv': 'Navajo', 'sn': 'Shona', 'be': 'Belarusian', 'fr': 'French', 'bg': 'Bulgarian', 'sv': 'Swedish', 'ba': 'Bashkir', 'wa': 'Walloon', 'wo': 'Wolof', 'fy': 'Frisian', 'bn': 'Bengali', 'bo': 'Tibetan', 'bh': 'Bihari', 'bi': 'Bislama', 'fa': 'Persian', 'br': 'Breton', 'bs': 'Bosnian', 'fi': 'Finnish', 'fj': 'Fijian', 'hu': 'Hungarian', 'ja': 'Japanese', 'fo': 'Faroese', 'ka': 'Georgian', 'so': 'Somali', 'kk': 'Kazakh', 'kj': 'Kuanyama', 'ki': 'Kikuyu', 'ty': 'Tahitian', 'ko': 'Korean', 'kn': 'Kannada', 'km': 'Khmer', 'kl': 'Kalaallisut', 'ks': 'Kashmiri', 'si': 'Sinhalese', 'sh': 'Serbo-Croatian', 'kw': 'Cornish', 'kv': 'Komi', 'ku': 'Kurdish', 'sl': 'Slovenian', 'sc': 'Sardinian', 'ky': 'Kyrgyz', 'os': 'Ossetian; Ossetic', 'or': 'Oriya', 'se': 'Northern Sami', 'sd': 'Sindhi'}</em><a class="headerlink" href="#translate.lang.poedit.lang_codes" title="Permalink to this definition">¶</a></dt>
<dd><p>ISO369 codes and names as used by Poedit.
Mostly these are identical to ISO 639, but there are some differences.</p>
</dd></dl>

<dl class="data">
<dt id="translate.lang.poedit.lang_names">
<tt class="descclassname">translate.lang.poedit.</tt><tt class="descname">lang_names</tt><em class="property"> = {'Estonian': 'et', 'Telugu': 'te', 'Kyrgyz': 'ky', 'Cornish': 'kw', 'Bulgarian': 'bg', 'Yoruba': 'yo', 'French': 'fr', 'Fijian': 'fj', 'Armenian': 'hy', 'Tsonga': 'ts', 'Tamil': 'ta', 'Kalaallisut': 'kl', 'Ossetian; Ossetic': 'os', 'Twi': 'tw', 'Nepali': 'ne', 'Finnish': 'fi', 'Sundanese': 'su', 'Albanian': 'sq', 'Walloon': 'wa', 'Tagalog': 'tl', 'Serbian': 'sr', 'Malayalam': 'ml', 'Church Slavic': 'cu', 'Italian': 'it', 'Navajo': 'nv', 'Chamorro': 'ch', 'Bislama': 'bi', 'Galician': 'gl', 'German': 'de', 'Slovak': 'sk', 'Yiddish': 'yi', 'Urdu': 'ur', 'Polish': 'pl', 'Occitan': 'oc', 'Xhosa': 'xh', 'Swedish': 'sv', 'Norwegian Bokmal': 'nb', 'Marathi': 'mr', 'Slovenian': 'sl', 'Uighur': 'ug', 'Azerbaijani': 'az', 'Faroese': 'fo', 'Nauru': 'na', 'Danish': 'da', 'Indonesian': 'id', 'Latin': 'la', 'Zulu': 'zu', 'Norwegian Nynorsk': 'nn', 'Georgian': 'ka', 'Zhuang': 'za', 'Tigrinya': 'ti', 'Sinhalese': 'si', 'Komi': 'kv', 'Tajik': 'tg', 'Thai': 'th', 'Afrikaans': 'af', 'Tibetan': 'bo', 'Turkmen': 'tk', 'Chichewa; Nyanja': 'ny', 'Tonga': 'to', 'Kikuyu': 'ki', 'Guarani': 'gn', '(Afan) Oromo': 'om', 'Uzbek': 'uz', 'Serbo-Croatian': 'sh', 'Herero': 'hz', 'Sangro': 'sg', 'Gaelic': 'gd', 'Burmese': 'my', 'Chuvash': 'cv', 'Latvian': 'lv', 'English': 'en', 'Croatian': 'hr', 'Chinese': 'zh', 'Greek': 'el', 'Inuktitut': 'iu', 'Tatar': 'tt', 'Pali': 'pi', 'Rhaeto-Romance': 'rm', 'Friulian': 'fur', 'Spanish': 'es', 'Arabic': 'ar', 'Breton': 'br', 'Swahili': 'sw', 'Icelandic': 'is', 'Turkish': 'tr', 'Samoan': 'sm', 'Inupiaq': 'ik', 'Gujarati': 'gu', 'Hindi': 'hi', 'Sindhi': 'sd', 'Korean': 'ko', 'Malagasy': 'mg', 'Khmer': 'km', 'Maori': 'mi', 'Hungarian': 'hu', 'Wolof': 'wo', 'Bosnian': 'bs', 'Lithuanian': 'lt', 'Malay': 'ms', 'Catalan': 'ca', 'Russian': 'ru', 'Pashto, Pushto': 'ps', 'Lingala': 'ln', 'Kazakh': 'kk', 'Bengali': 'bn', 'Kashmiri': 'ks', 'Siswati': 'ss', 'Hiri Motu': 'ho', 'Frisian': 'fy', 'Amharic': 'am', 'Panjabi': 'pa', 'Javanese': 'jw', 'Oriya': 'or', 'Afar': 'aa', 'Sesotho': 'st', 'Hausa': 'ha', 'Irish': 'ga', 'Moldavian': 'mo', 'Czech': 'cs', 'Marshall': 'mh', 'Belarusian': 'be', 'Kannada': 'kn', 'Macedonian': 'mk', 'Persian': 'fa', 'Mongolian': 'mn', 'Dzongkha': 'dz', 'Basque': 'eu', 'Aymara': 'ay', 'Northern Sami': 'se', 'Ndonga': 'ng', 'Setswana': 'tn', 'Vietnamese': 'vi', 'Romanian': 'ro', 'Shona': 'sn', 'Somali': 'so', 'Sardinian': 'sc', 'Corsican': 'co', 'Chechen': 'ce', 'Dutch': 'nl', 'Sanskrit': 'sa', 'Lao': 'lo', 'Bihari': 'bh', 'Ukrainian': 'uk', 'Welsh': 'cy', 'Tahitian': 'ty', 'Maltese': 'mt', 'Assamese': 'as', 'Ndebele, South': 'nr', 'Kurdish': 'ku', 'Bashkir': 'ba', 'Quechua': 'qu', 'Kuanyama': 'kj', 'Volapuk': 'vo', 'Letzeburgesch': 'lb', 'Rundi': 'rn', 'Portuguese': 'pt', 'Abkhazian': 'ab', 'Interlingua': 'ia', 'Japanese': 'ja', 'Kinyarwanda': 'rw', 'Interlingue': 'ie', 'Avestan': 'ae', 'Hebrew': 'he', 'Esperanto': 'eo'}</em><a class="headerlink" href="#translate.lang.poedit.lang_names" title="Permalink to this definition">¶</a></dt>
<dd><p>Reversed <a class="reference internal" href="#translate.lang.poedit.lang_codes" title="translate.lang.poedit.lang_codes"><tt class="xref py py-data docutils literal"><span class="pre">lang_codes</span></tt></a></p>
</dd></dl>

</div>
<div class="section" id="module-translate.lang.si">
<span id="si"></span><h2>si<a class="headerlink" href="#module-translate.lang.si" title="Permalink to this headline">¶</a></h2>
<p>This module represents the Sinhala language.</p>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://en.wikipedia.org/wiki/Sinhala_language">http://en.wikipedia.org/wiki/Sinhala_language</a></p>
</div>
<dl class="class">
<dt id="translate.lang.si.si">
<em class="property">class </em><tt class="descclassname">translate.lang.si.</tt><tt class="descname">si</tt><a class="headerlink" href="#translate.lang.si.si" title="Permalink to this definition">¶</a></dt>
<dd><p>This class represents Sinhala.</p>
<dl class="classmethod">
<dt id="translate.lang.si.si.alter_length">
<em class="property">classmethod </em><tt class="descname">alter_length</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.si.si.alter_length" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the given string by adding or removing characters as an
estimation of translation length (with English assumed as source
language).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.si.si.capsstart">
<em class="property">classmethod </em><tt class="descname">capsstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.si.si.capsstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a capital letter.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.si.si.character_iter">
<em class="property">classmethod </em><tt class="descname">character_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.si.si.character_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.si.si.characters">
<em class="property">classmethod </em><tt class="descname">characters</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.si.si.characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.si.si.length_difference">
<em class="property">classmethod </em><tt class="descname">length_difference</tt><big>(</big><em>length</em><big>)</big><a class="headerlink" href="#translate.lang.si.si.length_difference" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an estimate to a likely change in length relative to an
English string of length length.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.si.si.numstart">
<em class="property">classmethod </em><tt class="descname">numstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.si.si.numstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a mumeric value.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.si.si.punctranslate">
<em class="property">classmethod </em><tt class="descname">punctranslate</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.si.si.punctranslate" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the punctuation in a string according to the rules of the
language.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.si.si.sentence_iter">
<em class="property">classmethod </em><tt class="descname">sentence_iter</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.si.si.sentence_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the sentences in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.si.si.sentencere">
<tt class="descname">sentencere</tt><em class="property"> = &lt;_sre.SRE_Pattern object at 0x7ff0fe4a7700&gt;</em><a class="headerlink" href="#translate.lang.si.si.sentencere" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="translate.lang.si.si.sentences">
<em class="property">classmethod </em><tt class="descname">sentences</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.si.si.sentences" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of senteces in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.si.si.word_iter">
<em class="property">classmethod </em><tt class="descname">word_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.si.si.word_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the words in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.si.si.words">
<em class="property">classmethod </em><tt class="descname">words</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.si.si.words" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of words in text.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-translate.lang.st">
<span id="st"></span><h2>st<a class="headerlink" href="#module-translate.lang.st" title="Permalink to this headline">¶</a></h2>
<p>This module represents the Southern Sotho language.</p>
<dl class="class">
<dt id="translate.lang.st.st">
<em class="property">class </em><tt class="descclassname">translate.lang.st.</tt><tt class="descname">st</tt><a class="headerlink" href="#translate.lang.st.st" title="Permalink to this definition">¶</a></dt>
<dd><p>This class represents Southern Sotho.</p>
<dl class="classmethod">
<dt id="translate.lang.st.st.alter_length">
<em class="property">classmethod </em><tt class="descname">alter_length</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.st.st.alter_length" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the given string by adding or removing characters as an
estimation of translation length (with English assumed as source
language).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.st.st.capsstart">
<em class="property">classmethod </em><tt class="descname">capsstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.st.st.capsstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a capital letter.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.st.st.character_iter">
<em class="property">classmethod </em><tt class="descname">character_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.st.st.character_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.st.st.characters">
<em class="property">classmethod </em><tt class="descname">characters</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.st.st.characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.st.st.length_difference">
<em class="property">classmethod </em><tt class="descname">length_difference</tt><big>(</big><em>length</em><big>)</big><a class="headerlink" href="#translate.lang.st.st.length_difference" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an estimate to a likely change in length relative to an
English string of length length.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.st.st.numstart">
<em class="property">classmethod </em><tt class="descname">numstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.st.st.numstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a mumeric value.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.st.st.punctranslate">
<em class="property">classmethod </em><tt class="descname">punctranslate</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.st.st.punctranslate" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the punctuation in a string according to the rules of the
language.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.st.st.sentence_iter">
<em class="property">classmethod </em><tt class="descname">sentence_iter</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.st.st.sentence_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the sentences in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.st.st.sentencere">
<tt class="descname">sentencere</tt><em class="property"> = &lt;_sre.SRE_Pattern object at 0x7ff0fe4a7700&gt;</em><a class="headerlink" href="#translate.lang.st.st.sentencere" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="translate.lang.st.st.sentences">
<em class="property">classmethod </em><tt class="descname">sentences</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.st.st.sentences" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of senteces in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.st.st.word_iter">
<em class="property">classmethod </em><tt class="descname">word_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.st.st.word_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the words in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.st.st.words">
<em class="property">classmethod </em><tt class="descname">words</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.st.st.words" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of words in text.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-translate.lang.sv">
<span id="sv"></span><h2>sv<a class="headerlink" href="#module-translate.lang.sv" title="Permalink to this headline">¶</a></h2>
<p>This module represents the the Swedish language.</p>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://en.wikipedia.org/wiki/Swedish_language">http://en.wikipedia.org/wiki/Swedish_language</a></p>
</div>
<dl class="class">
<dt id="translate.lang.sv.sv">
<em class="property">class </em><tt class="descclassname">translate.lang.sv.</tt><tt class="descname">sv</tt><a class="headerlink" href="#translate.lang.sv.sv" title="Permalink to this definition">¶</a></dt>
<dd><p>This class represents Swedish.</p>
<dl class="classmethod">
<dt id="translate.lang.sv.sv.alter_length">
<em class="property">classmethod </em><tt class="descname">alter_length</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.sv.sv.alter_length" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the given string by adding or removing characters as an
estimation of translation length (with English assumed as source
language).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.sv.sv.capsstart">
<em class="property">classmethod </em><tt class="descname">capsstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.sv.sv.capsstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a capital letter.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.sv.sv.character_iter">
<em class="property">classmethod </em><tt class="descname">character_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.sv.sv.character_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.sv.sv.characters">
<em class="property">classmethod </em><tt class="descname">characters</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.sv.sv.characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.sv.sv.length_difference">
<em class="property">classmethod </em><tt class="descname">length_difference</tt><big>(</big><em>length</em><big>)</big><a class="headerlink" href="#translate.lang.sv.sv.length_difference" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an estimate to a likely change in length relative to an
English string of length length.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.sv.sv.numstart">
<em class="property">classmethod </em><tt class="descname">numstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.sv.sv.numstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a mumeric value.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.sv.sv.punctranslate">
<em class="property">classmethod </em><tt class="descname">punctranslate</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.sv.sv.punctranslate" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the punctuation in a string according to the rules of the
language.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.sv.sv.sentence_iter">
<em class="property">classmethod </em><tt class="descname">sentence_iter</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.sv.sv.sentence_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the sentences in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.sv.sv.sentencere">
<tt class="descname">sentencere</tt><em class="property"> = &lt;_sre.SRE_Pattern object at 0x7ff0fe4a7700&gt;</em><a class="headerlink" href="#translate.lang.sv.sv.sentencere" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="translate.lang.sv.sv.sentences">
<em class="property">classmethod </em><tt class="descname">sentences</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.sv.sv.sentences" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of senteces in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.sv.sv.word_iter">
<em class="property">classmethod </em><tt class="descname">word_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.sv.sv.word_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the words in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.sv.sv.words">
<em class="property">classmethod </em><tt class="descname">words</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.sv.sv.words" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of words in text.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-translate.lang.ta">
<span id="ta"></span><h2>ta<a class="headerlink" href="#module-translate.lang.ta" title="Permalink to this headline">¶</a></h2>
<p>This module represents the Tamil language.</p>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://en.wikipedia.org/wiki/Tamil_language">http://en.wikipedia.org/wiki/Tamil_language</a></p>
</div>
<dl class="class">
<dt id="translate.lang.ta.ta">
<em class="property">class </em><tt class="descclassname">translate.lang.ta.</tt><tt class="descname">ta</tt><a class="headerlink" href="#translate.lang.ta.ta" title="Permalink to this definition">¶</a></dt>
<dd><p>This class represents Tamil.</p>
<dl class="classmethod">
<dt id="translate.lang.ta.ta.alter_length">
<em class="property">classmethod </em><tt class="descname">alter_length</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ta.ta.alter_length" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the given string by adding or removing characters as an
estimation of translation length (with English assumed as source
language).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ta.ta.capsstart">
<em class="property">classmethod </em><tt class="descname">capsstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ta.ta.capsstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a capital letter.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ta.ta.character_iter">
<em class="property">classmethod </em><tt class="descname">character_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ta.ta.character_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ta.ta.characters">
<em class="property">classmethod </em><tt class="descname">characters</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ta.ta.characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ta.ta.length_difference">
<em class="property">classmethod </em><tt class="descname">length_difference</tt><big>(</big><em>length</em><big>)</big><a class="headerlink" href="#translate.lang.ta.ta.length_difference" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an estimate to a likely change in length relative to an
English string of length length.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ta.ta.numstart">
<em class="property">classmethod </em><tt class="descname">numstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ta.ta.numstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a mumeric value.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ta.ta.punctranslate">
<em class="property">classmethod </em><tt class="descname">punctranslate</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ta.ta.punctranslate" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the punctuation in a string according to the rules of the
language.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ta.ta.sentence_iter">
<em class="property">classmethod </em><tt class="descname">sentence_iter</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.ta.ta.sentence_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the sentences in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.ta.ta.sentencere">
<tt class="descname">sentencere</tt><em class="property"> = &lt;_sre.SRE_Pattern object at 0x7ff0fe4a7700&gt;</em><a class="headerlink" href="#translate.lang.ta.ta.sentencere" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ta.ta.sentences">
<em class="property">classmethod </em><tt class="descname">sentences</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.ta.ta.sentences" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of senteces in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ta.ta.word_iter">
<em class="property">classmethod </em><tt class="descname">word_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ta.ta.word_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the words in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ta.ta.words">
<em class="property">classmethod </em><tt class="descname">words</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ta.ta.words" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of words in text.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-translate.lang.team">
<span id="team"></span><h2>team<a class="headerlink" href="#module-translate.lang.team" title="Permalink to this headline">¶</a></h2>
<p>Module to guess the language ISO code based on the &#8216;Language-Team&#8217; entry in
the header of a Gettext PO file.</p>
<dl class="data">
<dt id="translate.lang.team.LANG_TEAM_CONTACT_SNIPPETS">
<tt class="descclassname">translate.lang.team.</tt><tt class="descname">LANG_TEAM_CONTACT_SNIPPETS</tt><em class="property"> = {'gu': ('indianoss-gujarati&#64;lists.sourceforge.net',), 'ga': ('gaeilge-gnulinux&#64;lists.sourceforge.net', 'gaeilge-a&#64;listserv.heanet.ie'), 'gl': ('trasno&#64;ceu.fi.udc.es', 'gnome&#64;g11n.net', 'gpul-traduccion&#64;ceu.fi.udc.es', 'proxecto&#64;trasno.net', 'trasno&#64;gpul.org'), 'la': ('gnome-latin-list&#64;gnome.org',), 'tt': ('tatarish.l10n&#64;gmail.com',), 'tr': ('debian-l10n-turkish&#64;lists.debian.org', 'gnome-turk&#64;gnome.org', 'gnu-tr-u12a&#64;lists.sourceforge.net', 'turkce&#64;pardus.org.tr'), 'li': ('li&#64;gnome.org',), 'lv': ('lata-l10n&#64;googlegroups.com', 'lata-i18n&#64;groups.google.com', 'locale&#64;laka.lv', 'll10nt&#64;os.lv'), 'lt': ('gimp-lt&#64;lists.akl.lt', 'gnome-lt&#64;lists.akl.lt', 'gnome-lt&#64;lists.gnome.org', 'komp_lt&#64;konferencijos.lt'), 'tk': ('kakilikgroup&#64;yahoo.com',), 'th': ('l10n&#64;opentle.org', 'thai-l10n&#64;googlegroup.com', 'thailang&#64;buraphalinux.org', 'thai-l10n&#64;googlegroups.com', 'l10n.opentle.org'), 'te': ('localisation&#64;swecha.org', 'indlinux-telugu&#64;lists.sourceforge.net'), 'ta': ('gnome-tamil-translation&#64;googlegroups.com', 'tamilinix&#64;yahoogroups.com', 'Ubuntu-l10n-tam&#64;lists.ubuntu.com', 'tamil-DI&#64;yahoogroups.com'), 'pt_BR': ('gnome-l10n-br&#64;listas.cipsga.org.br', 'gnome-pt_br-list&#64;gnome.org', 'fedora-docs-br&#64;redhat.com', 'fedora-trans-pt-br&#64;redhat.com', 'ldp-br&#64;bazar.conectiva.com.br', 'pgbr-dev&#64;postgresql.org.br', 'pgbr-dev&#64;listas.postgresql.org.br', 'debian-l10n-portuguese&#64;lists.debian.org'), 'de': ('gnome-de&#64;gnome.org', 'debian-l10n-german&#64;lists.debian.org'), 'da': ('dansk&#64;dansk-gruppen.dk', 'dansk&#64;klid.dk', 'sslug-locale&#64;sslug.dk'), 'dz': ('pgeyleg&#64;dit.gov.bt', 'pgyeleg&#64;dit.gov.bt'), 'crh': ('tilde-birlik-tercime&#64;lists.sourceforge.net',), 'el': ('debian-l10n-greek&#64;lists.debian.org', 'i18ngr&#64;lists.hellug.gr', 'i18n&#64;hellug.gr', 'nls&#64;tux.hellug.gr', 'team&#64;gnome.gr', 'team&#64;lists.gnome.gr', 'users&#64;el.openoffice.org'), 'eo': ('eo-tradukado&#64;lists.tuxfamily.org', 'debian-l10n-esperanto&#64;lists.debian.org', 'ubuntu-l10n-eo&#64;lists.launchpad.net', 'eo-tradukado.tuxfamily.org'), 'be': ('i18n&#64;mova.org', 'i18n&#64;tut.by', 'mozilla_byx&#64;poczta.fm'), 'eu': ('debian-l10n-basque&#64;lists.debian.org', 'debian-l10n-eu&#64;lists.debian.org', 'itzulpena&#64;euskalgnu.org', 'gnome&#64;euskalgnu.org', 'librezale&#64;librezale.org', 'linux-eu&#64;chanae.alphanet.ch'), 'et': ('gnome-et&#64;linux.ee', 'kde-et&#64;linux.ee', 'linux-ee&#64;lists.eenet.ee', 'linux-et&#64;lists.eenet.ee', 'et-gnome&#64;linux.ee', 'linux-ee&#64;eenet.ee'), 'es': ('pgsql-es-ayuda&#64;postgresql.org', 'debian-l10n-spanish&#64;lists.debian.org', 'gnome-es&#64;gnome.org', 'traductores&#64;es.gnome.org'), 'ru': ('pgsql-rus&#64;yahoogroups.com', 'debian-l10n-russian&#64;lists.debian.org', 'gnupg-ru&#64;gnupg.org'), 'ro': ('fedora-ro&#64;googlegroups.com', 'gnomero-list&#64;lists.sourceforge.net', 'debian-l10n-romanian&#64;lists.debian.org'), 'en_CA': ('adamw&#64;gnome.org', 'adamw&#64;freebsd.org'), 'bg': ('dict&#64;fsa-bg.org', 'dict&#64;linux.zonebg.com'), 'uk': ('linux&#64;linux.org.ua',), 'wa': ('linux-wa&#64;',), 'ast': ('&#64;softastur.org', 'launchpad.net/~ubuntu-l10n-ast', 'softast-xeneral&#64;lists.sourceforge.net', 'Softastur'), 'bn': ('gnome-translation&#64;bengalinux.org', 'core&#64;bengalinux.org', 'ankur-bd-l10n&#64;googlegroups.com', 'redhat-translation&#64;bengalinux.org'), 'br': ('drouizig&#64;drouizig.org', 'brenux&#64;free.fr', 'tradgnome&#64;softcatala.net', 'fedora&#64;softcatala.org'), 'bs': ('lokal&#64;linux.org.ba', 'lokal&#64;lugbih.org'), 'ja': ('debian-doc&#64;debian.or.jp', 'debian-japanese&#64;lists.debian.org', 'gnome-translation&#64;gnome.gr.jp', 'translation&#64;gnome.gr.jp', 'jpug-doc&#64;ml.postgresql.jp'), 'nds': ('nds-lowgerman&#64;lists.sourceforge.net',), 'or': ('oriya-group&#64;lists.sarovar.org', 'oriya-it&#64;googlegroups.com'), 'xh': ('xh-translate&#64;ubuntu.com', 'xhosa&#64;translate.org.za', 'xhosa&#64;ubuntu.com'), 'nso': ('sepedi&#64;translate.org.za',), 'az_IR': ('az-ir&#64;lists.sharif.edu',), 'ca': ('&#64;softcatala.org',), 'cy': ('gnome-cy&#64;lists.linux.org.uk', 'gnome-cy&#64;pengwyn.linux.org.uk', 'gnome-cy&#64;www.linux.org', 'gnome-cy&#64;www.linux.org.uk', 'cy&#64;pengwyn.linux.org.uk'), 'cs': ('fedora-cs-list&#64;redhat.com', 'cs-users&#64;lists.fedoraproject.org', 'debian-l10n-czech&#64;lists.debian.org', 'kde-czech-apps&#64;lists.sourceforge.net', 'kde-czech-apps&#64;lists.sf.net', 'translations.cs&#64;gnupg.cz'), 'ps': ('pathanisation&#64;googelgroups.com',), 'pt': ('fedora-trans-pt&#64;redhat.org', 'gnome_pt&#64;yahoogroups.com', 'traduz&#64;debianpt.org', 'traduz&#64;debian.pt'), 'en&#64;shaw': ('ubuntu-l10n-en-shaw&#64;launchpad.net', 'ubuntu-l10n-en-shaw&#64;lists.launchpad.net'), 'tl': ('debian-tl&#64;banwa.upm.edu.ph',), 'pa': ('punjabi-l10n&#64;users.sf.net', 'fedora-pa-list&#64;redhat.com', 'punjabi-users&#64;lists.sf.net', 'punjabi-l10n&#64;lists.sourceforge.net', 'punlinux-i18n&#64;lists.sourceforge.net'), 'en_GB': ('kde-en-gb&#64;kde.me.uk',), 'hr': ('translator-shop.org', 'lokalizacija&#64;linux.hr'), 'zh_TW': ('zh-l10n&#64;lists.linux.org.tw', 'chinese-l10n&#64;googlegroups.com', 'community&#64;linuxhall.org', 'zh-l10n&#64;linux.org.tw'), 'hu': ('debian-l10n-hungarian&#64;lists.debian.org', 'gnome&#64;fsf.hu', 'gnome&#64;gnome.hu', 'magyar&#64;lists.linux.hu'), 'hi': ('indlinux-hindi-gnome&#64;lists.sourceforge.net', 'indlinux-hindi&#64;lists.sourceforge.net'), 'he': ('debian-hebrew-common&#64;lists.alioth.debian.org', 'kde-il&#64;yahoogroups.com', 'fedora-he-list&#64;redhat.com', 'mdk-hebrew&#64;iglu.org.il'), 'mg': ('i18n-malagasy-gnome&#64;gnome.org',), 'be&#64;latin': ('translation-team-be-latin&#64;lists', 'be-latin.open-tran.eu'), 'zh_CN': ('i18n-translation&#64;lists.linux.net.cn', 'i18n-zh&#64;googlegroups.com', 'translation-team-zh-cn&#64;lists.sourceforge.net', 'i18n-zh&#64;googlegroup.com'), 'ml': ('smc-discuss&#64;googlegroups.com',), 'mn': ('openmn-', 'openmn.org'), 'mi': ('maori&#64;nzlinux.org.nz',), 'mk': ('gnomk-main&#64;lists.sourceforge.net', 'lug&#64;lists.linux.net.mk', 'mkde-l10n&#64;lists.sourceforge.net', 'ossm-members&#64;hedona.on.net.mk'), 'ur': ('l10n&#64;urduweb.org', 'urdu.scs.gift&#64;gmail.com'), 'pl': ('gnomepl&#64;aviary.pl', 'debian-l10n-polish&#64;lists.debian.org', 'gnome-l10n&#64;lists.aviary.pl', 'translators&#64;gnomepl.org'), 'ms': ('gabai-penyumbang&#64;lists.sourceforge.net', 'gabai-penyumbang&#64;lists.sf.net', 'kedidiemas&#64;yahoogroups.com'), 'ug': ('gnome-uighur&#64;yahoogroups.com',), 've': ('venda&#64;translate.org.za',), 'af': ('i18n&#64;af.org.za', 'Petri Jooste'), 'vi': ('gnomevi-list&#64;lists.sourceforge.net', 'vi-VN&#64;googlegroups.com'), 'is': ('gnome&#64;techattack.nu', 'kde-isl&#64;mmedia.is', 'kde-isl&#64;molar.is'), 'am': ('&#64;geez.org',), 'it': ('debian-l10n-italian&#64;lists.debian.org', 'traduzioni&#64;itpug.org', 'fedora-trans-it&#64;redhat.com', 'tp&#64;lists.linux.it'), 'sv': ('debian-l10n-swedish&#64;lists.debian.org', 'tp-sv&#64;listor.tp-sv.se'), 'as': ('assam&#64;mm.assam-glug.org',), 'ar': ('arabeyes.org', 'Arabeyes'), 'io': ('gnome-ido&#64;lists.mterry.name',), 'zu': ('zulu&#64;translate.org.za',), 'az': ('linuxaz&#64;azerimal.net', 'gnome&#64;azitt.com', u'gnome&#64;az\u0259tt.com'), 'id': ('&#64;id.gnome.org', '&#64;gnome.linux.or.id', 'mdk-id&#64;yahoogroups.com', 'linux.or.id', 'gnome&#64;i15n.org'), 'bn_IN': ('anubad&#64;lists.ankur.org.in',), 'ks': ('ks-gnome-trans-commits&#64;lists.code.indlinux.net',), 'nl': ('debian-l10n-dutch&#64;lists.debian.org', 'vertaling&#64;nl.gnome.org', 'vertaling&#64;vrijschrift.org', 'nl&#64;vrijschrift.org', 'vertaling&#64;nl.linux.org', 'vertaling&#64;nl.li.org'), 'nn': ('i18n-nn&#64;lister.ping.uio.no',), 'nb': ('i18n-nb&#64;lister.ping.uio.no',), 'ne': ('info&#64;mpp.org.np',), 'en_AU': ('trans&#64;six-by-nine.com.au',), 'fr': ('debian-l10n-french&#64;lists.debian.org', 'gnomefr&#64;traduc.org', 'kde-francophone&#64;kde.org', 'traduc&#64;traduc.org', 'pgsql-fr-generale&#64;postgresql.org', 'rpm-fr&#64;livna.org'), 'fa': ('farsi&#64;lists.sharif.edu', 'Farsiweb.info'), 'mai': ('maithili.sf.net',), 'fi': ('debian-l10n-finnish&#64;lists.debian.org', 'gnome-fi-laatu&#64;lists.sourceforge.net', 'laatu&#64;lokalisointi.org', 'lokalisointi-laatu&#64;linux-aktivaattori.org', 'laatu&#64;gnome.fi', 'yast-trans-fi&#64;kotoistaminen.novell.fi'), 'ka': ('geognome&#64;googlegroups.com', 'Ubuntu-Georgian-Translators&#64;googlegroups.com'), 'kk': ('kk_KZ&#64;googlegroups.com',), 'sr': ('&#64;prevod.org', 'serbiangnome-lista&#64;nongnu.org'), 'sq': ('gnome-albanian-perkthyesit&#64;lists.sourceforge.net', 'debian-l10n-albanian&#64;lists.debian.org'), 'ko': ('gnome-kr-hackers&#64;list.kldp.net', 'gnome-kr-hackers&#64;lists.kldp.net', 'gnome-kr-translation&#64;lists.kldp.net', 'pgsql-kr&#64;postgresql.or.kr', 'hangul-hackers&#64;lists.kldp.net', 'debian-l10n-korean&#64;lists.debian.org', 'gnome-kr-translation&#64;lists.sourceforge.net'), 'kn': ('debian-l10n-kannada&#64;lists.debian.org',), 'km': ('&#64;khmeros.info',), 'sk': ('sk-i18n&#64;lists.linux.sk', 'kde-sk&#64;linux.sk'), 'ku': ('gnu-ku-wergerandin&#64;lists.sourceforge.net',), 'sl': ('gnome-si&#64;googlegroups.com',), 'ky': ('i18n-team-ky-kyrgyz&#64;lists.sourceforge.net', 'ky-li&#64;mail.ru')}</em><a class="headerlink" href="#translate.lang.team.LANG_TEAM_CONTACT_SNIPPETS" title="Permalink to this definition">¶</a></dt>
<dd><p>Language codes with snippets of contact information that can be used to
uniquely identify the language</p>
</dd></dl>

<dl class="function">
<dt id="translate.lang.team.guess_language">
<tt class="descclassname">translate.lang.team.</tt><tt class="descname">guess_language</tt><big>(</big><em>team_string</em><big>)</big><a class="headerlink" href="#translate.lang.team.guess_language" title="Permalink to this definition">¶</a></dt>
<dd><p>Gueses the language of a PO file based on the Language-Team entry</p>
</dd></dl>

</div>
<div class="section" id="module-translate.lang.te">
<span id="te"></span><h2>te<a class="headerlink" href="#module-translate.lang.te" title="Permalink to this headline">¶</a></h2>
<p>This module represents the Telugu language.</p>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://en.wikipedia.org/wiki/Telugu_language">http://en.wikipedia.org/wiki/Telugu_language</a></p>
</div>
<dl class="class">
<dt id="translate.lang.te.te">
<em class="property">class </em><tt class="descclassname">translate.lang.te.</tt><tt class="descname">te</tt><a class="headerlink" href="#translate.lang.te.te" title="Permalink to this definition">¶</a></dt>
<dd><p>This class represents Telugu.</p>
<dl class="classmethod">
<dt id="translate.lang.te.te.alter_length">
<em class="property">classmethod </em><tt class="descname">alter_length</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.te.te.alter_length" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the given string by adding or removing characters as an
estimation of translation length (with English assumed as source
language).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.te.te.capsstart">
<em class="property">classmethod </em><tt class="descname">capsstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.te.te.capsstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a capital letter.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.te.te.character_iter">
<em class="property">classmethod </em><tt class="descname">character_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.te.te.character_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.te.te.characters">
<em class="property">classmethod </em><tt class="descname">characters</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.te.te.characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.te.te.length_difference">
<em class="property">classmethod </em><tt class="descname">length_difference</tt><big>(</big><em>length</em><big>)</big><a class="headerlink" href="#translate.lang.te.te.length_difference" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an estimate to a likely change in length relative to an
English string of length length.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.te.te.numstart">
<em class="property">classmethod </em><tt class="descname">numstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.te.te.numstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a mumeric value.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.te.te.punctranslate">
<em class="property">classmethod </em><tt class="descname">punctranslate</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.te.te.punctranslate" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the punctuation in a string according to the rules of the
language.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.te.te.sentence_iter">
<em class="property">classmethod </em><tt class="descname">sentence_iter</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.te.te.sentence_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the sentences in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.te.te.sentencere">
<tt class="descname">sentencere</tt><em class="property"> = &lt;_sre.SRE_Pattern object at 0x7ff0fe4a7700&gt;</em><a class="headerlink" href="#translate.lang.te.te.sentencere" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="translate.lang.te.te.sentences">
<em class="property">classmethod </em><tt class="descname">sentences</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.te.te.sentences" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of senteces in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.te.te.word_iter">
<em class="property">classmethod </em><tt class="descname">word_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.te.te.word_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the words in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.te.te.words">
<em class="property">classmethod </em><tt class="descname">words</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.te.te.words" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of words in text.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-translate.lang.th">
<span id="th"></span><h2>th<a class="headerlink" href="#module-translate.lang.th" title="Permalink to this headline">¶</a></h2>
<p>This module represents the Thai language.</p>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://en.wikipedia.org/wiki/Thai_language">http://en.wikipedia.org/wiki/Thai_language</a></p>
</div>
<dl class="class">
<dt id="translate.lang.th.th">
<em class="property">class </em><tt class="descclassname">translate.lang.th.</tt><tt class="descname">th</tt><a class="headerlink" href="#translate.lang.th.th" title="Permalink to this definition">¶</a></dt>
<dd><p>This class represents Thai.</p>
<dl class="classmethod">
<dt id="translate.lang.th.th.alter_length">
<em class="property">classmethod </em><tt class="descname">alter_length</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.th.th.alter_length" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the given string by adding or removing characters as an
estimation of translation length (with English assumed as source
language).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.th.th.capsstart">
<em class="property">classmethod </em><tt class="descname">capsstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.th.th.capsstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a capital letter.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.th.th.character_iter">
<em class="property">classmethod </em><tt class="descname">character_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.th.th.character_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.th.th.characters">
<em class="property">classmethod </em><tt class="descname">characters</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.th.th.characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.th.th.length_difference">
<em class="property">classmethod </em><tt class="descname">length_difference</tt><big>(</big><em>length</em><big>)</big><a class="headerlink" href="#translate.lang.th.th.length_difference" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an estimate to a likely change in length relative to an
English string of length length.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.th.th.numstart">
<em class="property">classmethod </em><tt class="descname">numstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.th.th.numstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a mumeric value.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.th.th.punctranslate">
<em class="property">classmethod </em><tt class="descname">punctranslate</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.th.th.punctranslate" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the punctuation in a string according to the rules of the
language.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.th.th.sentence_iter">
<em class="property">classmethod </em><tt class="descname">sentence_iter</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.th.th.sentence_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the sentences in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.th.th.sentencere">
<tt class="descname">sentencere</tt><em class="property"> = &lt;_sre.SRE_Pattern object at 0x7ff0fe4a7700&gt;</em><a class="headerlink" href="#translate.lang.th.th.sentencere" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="translate.lang.th.th.sentences">
<em class="property">classmethod </em><tt class="descname">sentences</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.th.th.sentences" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of senteces in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.th.th.word_iter">
<em class="property">classmethod </em><tt class="descname">word_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.th.th.word_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the words in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.th.th.words">
<em class="property">classmethod </em><tt class="descname">words</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.th.th.words" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of words in text.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-translate.lang.ug">
<span id="ug"></span><h2>ug<a class="headerlink" href="#module-translate.lang.ug" title="Permalink to this headline">¶</a></h2>
<p>This module represents the Uyghur language.</p>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://en.wikipedia.org/wiki/Uyghur_language">http://en.wikipedia.org/wiki/Uyghur_language</a></p>
</div>
<dl class="class">
<dt id="translate.lang.ug.ug">
<em class="property">class </em><tt class="descclassname">translate.lang.ug.</tt><tt class="descname">ug</tt><a class="headerlink" href="#translate.lang.ug.ug" title="Permalink to this definition">¶</a></dt>
<dd><p>This class represents Uyghur.</p>
<dl class="classmethod">
<dt id="translate.lang.ug.ug.alter_length">
<em class="property">classmethod </em><tt class="descname">alter_length</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ug.ug.alter_length" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the given string by adding or removing characters as an
estimation of translation length (with English assumed as source
language).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ug.ug.capsstart">
<em class="property">classmethod </em><tt class="descname">capsstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ug.ug.capsstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a capital letter.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ug.ug.character_iter">
<em class="property">classmethod </em><tt class="descname">character_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ug.ug.character_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ug.ug.characters">
<em class="property">classmethod </em><tt class="descname">characters</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ug.ug.characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ug.ug.length_difference">
<em class="property">classmethod </em><tt class="descname">length_difference</tt><big>(</big><em>length</em><big>)</big><a class="headerlink" href="#translate.lang.ug.ug.length_difference" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an estimate to a likely change in length relative to an
English string of length length.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ug.ug.numstart">
<em class="property">classmethod </em><tt class="descname">numstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ug.ug.numstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a mumeric value.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ug.ug.punctranslate">
<em class="property">classmethod </em><tt class="descname">punctranslate</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ug.ug.punctranslate" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the punctuation in a string according to the rules of the
language.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ug.ug.sentence_iter">
<em class="property">classmethod </em><tt class="descname">sentence_iter</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.ug.ug.sentence_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the sentences in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.ug.ug.sentencere">
<tt class="descname">sentencere</tt><em class="property"> = &lt;_sre.SRE_Pattern object at 0x7ff0fe4a7700&gt;</em><a class="headerlink" href="#translate.lang.ug.ug.sentencere" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ug.ug.sentences">
<em class="property">classmethod </em><tt class="descname">sentences</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.ug.ug.sentences" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of senteces in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ug.ug.word_iter">
<em class="property">classmethod </em><tt class="descname">word_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ug.ug.word_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the words in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ug.ug.words">
<em class="property">classmethod </em><tt class="descname">words</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ug.ug.words" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of words in text.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-translate.lang.ur">
<span id="ur"></span><h2>ur<a class="headerlink" href="#module-translate.lang.ur" title="Permalink to this headline">¶</a></h2>
<p>This module represents the Urdu language.</p>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://en.wikipedia.org/wiki/Urdu_language">http://en.wikipedia.org/wiki/Urdu_language</a></p>
</div>
<dl class="class">
<dt id="translate.lang.ur.ur">
<em class="property">class </em><tt class="descclassname">translate.lang.ur.</tt><tt class="descname">ur</tt><a class="headerlink" href="#translate.lang.ur.ur" title="Permalink to this definition">¶</a></dt>
<dd><p>This class represents Urdu.</p>
<dl class="classmethod">
<dt id="translate.lang.ur.ur.alter_length">
<em class="property">classmethod </em><tt class="descname">alter_length</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ur.ur.alter_length" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the given string by adding or removing characters as an
estimation of translation length (with English assumed as source
language).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ur.ur.capsstart">
<em class="property">classmethod </em><tt class="descname">capsstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ur.ur.capsstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a capital letter.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ur.ur.character_iter">
<em class="property">classmethod </em><tt class="descname">character_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ur.ur.character_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ur.ur.characters">
<em class="property">classmethod </em><tt class="descname">characters</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ur.ur.characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ur.ur.length_difference">
<em class="property">classmethod </em><tt class="descname">length_difference</tt><big>(</big><em>length</em><big>)</big><a class="headerlink" href="#translate.lang.ur.ur.length_difference" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an estimate to a likely change in length relative to an
English string of length length.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ur.ur.numstart">
<em class="property">classmethod </em><tt class="descname">numstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ur.ur.numstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a mumeric value.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ur.ur.punctranslate">
<em class="property">classmethod </em><tt class="descname">punctranslate</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ur.ur.punctranslate" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the punctuation in a string according to the rules of the
language.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ur.ur.sentence_iter">
<em class="property">classmethod </em><tt class="descname">sentence_iter</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.ur.ur.sentence_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the sentences in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.ur.ur.sentencere">
<tt class="descname">sentencere</tt><em class="property"> = &lt;_sre.SRE_Pattern object at 0x7ff0fe4a7700&gt;</em><a class="headerlink" href="#translate.lang.ur.ur.sentencere" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ur.ur.sentences">
<em class="property">classmethod </em><tt class="descname">sentences</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.ur.ur.sentences" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of senteces in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ur.ur.word_iter">
<em class="property">classmethod </em><tt class="descname">word_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ur.ur.word_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the words in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.ur.ur.words">
<em class="property">classmethod </em><tt class="descname">words</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.ur.ur.words" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of words in text.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-translate.lang.vi">
<span id="vi"></span><h2>vi<a class="headerlink" href="#module-translate.lang.vi" title="Permalink to this headline">¶</a></h2>
<p>This module represents the Vietnamese language.</p>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://en.wikipedia.org/wiki/Vietnamese_language">http://en.wikipedia.org/wiki/Vietnamese_language</a></p>
</div>
<dl class="class">
<dt id="translate.lang.vi.vi">
<em class="property">class </em><tt class="descclassname">translate.lang.vi.</tt><tt class="descname">vi</tt><a class="headerlink" href="#translate.lang.vi.vi" title="Permalink to this definition">¶</a></dt>
<dd><p>This class represents Vietnamese.</p>
<dl class="classmethod">
<dt id="translate.lang.vi.vi.alter_length">
<em class="property">classmethod </em><tt class="descname">alter_length</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.vi.vi.alter_length" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the given string by adding or removing characters as an
estimation of translation length (with English assumed as source
language).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.vi.vi.capsstart">
<em class="property">classmethod </em><tt class="descname">capsstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.vi.vi.capsstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a capital letter.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.vi.vi.character_iter">
<em class="property">classmethod </em><tt class="descname">character_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.vi.vi.character_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.vi.vi.characters">
<em class="property">classmethod </em><tt class="descname">characters</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.vi.vi.characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.vi.vi.length_difference">
<em class="property">classmethod </em><tt class="descname">length_difference</tt><big>(</big><em>length</em><big>)</big><a class="headerlink" href="#translate.lang.vi.vi.length_difference" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an estimate to a likely change in length relative to an
English string of length length.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.vi.vi.numstart">
<em class="property">classmethod </em><tt class="descname">numstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.vi.vi.numstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a mumeric value.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.vi.vi.punctranslate">
<em class="property">classmethod </em><tt class="descname">punctranslate</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.vi.vi.punctranslate" title="Permalink to this definition">¶</a></dt>
<dd><p>Implement some extra features for quotation marks.</p>
<dl class="docutils">
<dt>Known shortcomings:</dt>
<dd><ul class="first last simple">
<li>% and $ are not touched yet for fear of variables</li>
<li>Double spaces might be introduced</li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.vi.vi.sentence_iter">
<em class="property">classmethod </em><tt class="descname">sentence_iter</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.vi.vi.sentence_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the sentences in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.vi.vi.sentencere">
<tt class="descname">sentencere</tt><em class="property"> = &lt;_sre.SRE_Pattern object at 0x7ff0fe4a7700&gt;</em><a class="headerlink" href="#translate.lang.vi.vi.sentencere" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="translate.lang.vi.vi.sentences">
<em class="property">classmethod </em><tt class="descname">sentences</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.vi.vi.sentences" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of senteces in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.vi.vi.word_iter">
<em class="property">classmethod </em><tt class="descname">word_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.vi.vi.word_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the words in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.vi.vi.words">
<em class="property">classmethod </em><tt class="descname">words</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.vi.vi.words" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of words in text.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-translate.lang.zh">
<span id="zh"></span><h2>zh<a class="headerlink" href="#module-translate.lang.zh" title="Permalink to this headline">¶</a></h2>
<p>This module represents the Chinese language (Both tradisional and simplified).</p>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://en.wikipedia.org/wiki/Chinese_language">http://en.wikipedia.org/wiki/Chinese_language</a></p>
</div>
<dl class="class">
<dt id="translate.lang.zh.zh">
<em class="property">class </em><tt class="descclassname">translate.lang.zh.</tt><tt class="descname">zh</tt><a class="headerlink" href="#translate.lang.zh.zh" title="Permalink to this definition">¶</a></dt>
<dd><p>This class represents Chinese.</p>
<dl class="classmethod">
<dt id="translate.lang.zh.zh.alter_length">
<em class="property">classmethod </em><tt class="descname">alter_length</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.zh.zh.alter_length" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the given string by adding or removing characters as an
estimation of translation length (with English assumed as source
language).</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.zh.zh.capsstart">
<em class="property">classmethod </em><tt class="descname">capsstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.zh.zh.capsstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a capital letter.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.zh.zh.character_iter">
<em class="property">classmethod </em><tt class="descname">character_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.zh.zh.character_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.zh.zh.characters">
<em class="property">classmethod </em><tt class="descname">characters</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.zh.zh.characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of characters in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.zh.zh.numstart">
<em class="property">classmethod </em><tt class="descname">numstart</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.zh.zh.numstart" title="Permalink to this definition">¶</a></dt>
<dd><p>Determines whether the text starts with a mumeric value.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.zh.zh.punctranslate">
<em class="property">classmethod </em><tt class="descname">punctranslate</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.zh.zh.punctranslate" title="Permalink to this definition">¶</a></dt>
<dd><p>Converts the punctuation in a string according to the rules of the
language.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.zh.zh.sentence_iter">
<em class="property">classmethod </em><tt class="descname">sentence_iter</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.zh.zh.sentence_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the sentences in text.</p>
</dd></dl>

<dl class="attribute">
<dt id="translate.lang.zh.zh.sentencere">
<tt class="descname">sentencere</tt><em class="property"> = &lt;_sre.SRE_Pattern object at 0x7ff0ff761b60&gt;</em><a class="headerlink" href="#translate.lang.zh.zh.sentencere" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="translate.lang.zh.zh.sentences">
<em class="property">classmethod </em><tt class="descname">sentences</tt><big>(</big><em>text</em>, <em>strip=True</em><big>)</big><a class="headerlink" href="#translate.lang.zh.zh.sentences" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of senteces in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.zh.zh.word_iter">
<em class="property">classmethod </em><tt class="descname">word_iter</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.zh.zh.word_iter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an iterator over the words in text.</p>
</dd></dl>

<dl class="classmethod">
<dt id="translate.lang.zh.zh.words">
<em class="property">classmethod </em><tt class="descname">words</tt><big>(</big><em>text</em><big>)</big><a class="headerlink" href="#translate.lang.zh.zh.words" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of words in text.</p>
</dd></dl>

</dd></dl>

</div>
</div>


</div>
<hr>

<footer class="footer">
  <div class="container">
    <p class="pull-right"><a href="#">Back to top ↑</a></p>
    <ul class="unstyled muted">
      <li><small>
        &copy; 2012, Translate.org.za.<br/>
      </small></li>
      <li><small>
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
      </small></li>
    </ul>
  </div>
</footer>
  </body>
</html>