cvs: phpdoc-da /reference/strings/functions soundex.xml

[email protected] ("Jonathan Holst")
Newsgroups php.doc.da
Message-ID <cvsholst1090590762@cvsserver>
holst		Fri Jul 23 09:52:42 2004 EDT

  Added files:                 
    /phpdoc-da/reference/strings/functions	soundex.xml 
  Log:
  
  Initial translation
  
  

http://cvs.php.net/co.php/phpdoc-da/reference/strings/functions/soundex.xml?r=1.1&p=1
Index: phpdoc-da/reference/strings/functions/soundex.xml
+++ phpdoc-da/reference/strings/functions/soundex.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.5 Maintainer: holst Status: ready -->
  <refentry id="function.soundex">
   <refnamediv>
    <refname>soundex</refname>
    <refpurpose>Beregn soundexnøglen på en streng</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>string</type><methodname>soundex</methodname>
      <methodparam><type>string</type><parameter>str</parameter></methodparam>
     </methodsynopsis>
    <para>
     Beregner soundexnøglen på <parameter>str</parameter>.
    </para>
    <para>
     Soundexnøgler har den egenskab at ord der udtales ens har samme
     soundexnøgle, og kan derfor bruges til at forenkle søgninger i databaser
     hvor du kender udtalelsen, men ikke stavemåden. Denne soundex-funktion
     returnerer en streng på fire tegn, startende med et bogstav.
    </para>
    <para>
     Denne særlige soundex-funktion bliver beskrevet af Donald Knuth i "The Art
     Of Computer Programming, vol. 3: Sorting And Searching", Addison-Wesley
     (1973), pp. 391-392.
    </para>
    <para>
     <example>
      <title>Soundex eksempler</title>
      <programlisting role="php">
<![CDATA[
<?php
soundex("Euler")       == soundex("Ellery");    // E460
soundex("Gauss")       == soundex("Ghosh");     // G200
soundex("Hilbert")     == soundex("Heilbronn"); // H416
soundex("Knuth")       == soundex("Kant");      // K530
soundex("Lloyd")       == soundex("Ladd");      // L300
soundex("Lukasiewicz") == soundex("Lissajous"); // L222
?>
]]>
      </programlisting>
     </example>
    </para>
    <para>
     Se også
     <function>levenshtein</function>,
     <function>metaphone</function> og
     <function>similar_text</function>.
    </para>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.