<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.pspell.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'function.pspell-suggest.php',
    1 => 'pspell_suggest',
    2 => 'Suggest spellings of a word',
  ),
  'up' => 
  array (
    0 => 'ref.pspell.php',
    1 => 'Pspell İşlevleri',
  ),
  'prev' => 
  array (
    0 => 'function.pspell-store-replacement.php',
    1 => 'pspell_store_replacement',
  ),
  'next' => 
  array (
    0 => 'class.pspell-dictionary.php',
    1 => 'PSpell\\Dictionary',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/pspell/functions/pspell-suggest.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.pspell-suggest" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">pspell_suggest</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.0.2, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">pspell_suggest</span> &mdash; <span class="dc-title">Suggest spellings of a word</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.pspell-suggest-description">
  <h3 class="title">Açıklama</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>pspell_suggest</strong></span>(<span class="methodparam"><span class="type"><a href="class.pspell-dictionary.php" class="type PSpell\Dictionary">PSpell\Dictionary</a></span> <code class="parameter">$dictionary</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$word</code></span>): <span class="type"><span class="type"><a href="language.types.array.php" class="type array">array</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>

  <p class="simpara">
   <span class="function"><strong>pspell_suggest()</strong></span> returns an array of possible
   spellings for the given word.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.pspell-suggest-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">dictionary</code></dt>
     <dd>
      <p class="para">
<span class="classname"><a href="class.pspell-dictionary.php" class="classname">PSpell\Dictionary</a></span> örneği.</p>
     </dd>
    
    
     <dt><code class="parameter">word</code></dt>
     <dd>
      <p class="para">
       The tested word.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.pspell-suggest-returnvalues">
  <h3 class="title">Dönen Değerler</h3>
  <p class="para">
   Returns an array of possible spellings.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.pspell-suggest-changelog">
  <h3 class="title">Sürüm Bilgisi</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>Sürüm: </th>
      <th>Açıklama</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
 <td>8.1.0</td>
 <td>
  The <code class="parameter">dictionary</code> parameter expects an
  <span class="classname"><a href="class.pspell-dictionary.php" class="classname">PSpell\Dictionary</a></span>
  instance now; previously, a <a href="language.types.resource.php" class="link">resource</a> was expected.
 </td>
</tr>

    </tbody>
   
  </table>

 </div>


 <div class="refsect1 examples" id="refsect1-function.pspell-suggest-examples">
  <h3 class="title">Örnekler</h3>
  <p class="para">
   <div class="example" id="example-1">
    <p><strong>Örnek 1 <span class="function"><strong>pspell_suggest()</strong></span> example</strong></p>
    <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br />$pspell </span><span style="color: #007700">= </span><span style="color: #0000BB">pspell_new</span><span style="color: #007700">(</span><span style="color: #DD0000">"en"</span><span style="color: #007700">);<br /><br />if (!</span><span style="color: #0000BB">pspell_check</span><span style="color: #007700">(</span><span style="color: #0000BB">$pspell</span><span style="color: #007700">, </span><span style="color: #DD0000">"testt"</span><span style="color: #007700">)) {<br />    </span><span style="color: #0000BB">$suggestions </span><span style="color: #007700">= </span><span style="color: #0000BB">pspell_suggest</span><span style="color: #007700">(</span><span style="color: #0000BB">$pspell</span><span style="color: #007700">, </span><span style="color: #DD0000">"testt"</span><span style="color: #007700">);<br /><br />    foreach (</span><span style="color: #0000BB">$suggestions </span><span style="color: #007700">as </span><span style="color: #0000BB">$suggestion</span><span style="color: #007700">) {<br />        echo </span><span style="color: #DD0000">"Possible spelling: </span><span style="color: #0000BB">$suggestion</span><span style="color: #DD0000">&lt;br /&gt;"</span><span style="color: #007700">;<br />    }<br />}<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
    </div>

   </div>
  </p>
 </div>


</div><?php manual_footer($setup); ?>