cvs: phpdoc-da /reference/strings/functions similar-text.xml

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

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

http://cvs.php.net/co.php/phpdoc-da/reference/strings/functions/similar-text.xml?r=1.1&p=1
Index: phpdoc-da/reference/strings/functions/similar-text.xml
+++ phpdoc-da/reference/strings/functions/similar-text.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.2 Maintainer: holst Status: ready -->
  <refentry id="function.similar-text">
   <refnamediv>
    <refname>similar_text</refname>
    <refpurpose>
     Beregn ligheden mellem to strenge
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Beskrivelse</title>
     <methodsynopsis>
      <type>int</type><methodname>similar_text</methodname>
      <methodparam><type>string</type><parameter>first</parameter></methodparam>
      <methodparam><type>string</type><parameter>second</parameter></methodparam>
      <methodparam choice="opt"><type>float</type><parameter>percent</parameter></methodparam>
     </methodsynopsis>
    <para>
     Dette beregner ligheden mellem to strenge som beskrevet i Oliver [1993].
     Bemærk at denne implentation ikke gør brug af en sammenligning som i
     Olivers pseudokode, men rekursive kald måske eller måske ikke sætter
     farten op på processen. Bemærk også at kompleksiteten af denne algoritme
     er 0(N**3) hvor N er længden på den længste streng.
     This calculates the similarity between two strings as described
     in Oliver [1993]. Note that this implementation does not use a
     stack as in Oliver's pseudo code, but recursive calls which may
     or may not speed up the whole process. Note also that the
     complexity of this algorithm is O(N**3) where N is the length of
     the longest string.
    </para>
    <para>
     Ved at give en reference som tredje parameter, vil
     <function>similar_text</function> beregne ligheden i procenter for dig.
     Den returnerer antallet af ens karakterer i begge strenge
    </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.