FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=18003&edit=1

ID: 18003
Updated by: daniel.oconnor@gmail.com
Reported By: myqlarson at gmail dot com
Summary: doubleSyllables not catching all possibilites
Status: Open
Type: Bug
Package: Text_Statistics
Operating System: ubuntu
Package Version: 1.0.1
PHP Version: 5.3.3
Roadmap Versions:
New Comment:

Hi myq; can I get you to add a reproduceable test script? It's not clear
to me what
input would be missed


Previous Comments:
------------------------------------------------------------------------

[2010-10-28 06:54:24] myq

Description:
------------
Need to add a few more exceptions to doubleSyllables to catch
everything

Test script:
---------------
var $doubleSyllables = array('/\wlien/', // alien but not lien
'/bl$/', // syllable
'/tl$/', // castle [**add]
'/io/', // biography

------------------------------------------------------------------------

Search Discussions

  • Daniel Oconnor at Jul 10, 2011 at 4:56 am
    Edit report at http://pear.php.net/bugs/bug.php?id=18003&edit=1

    ID: 18003
    Updated by: daniel.oconnor@gmail.com
    Reported By: myqlarson at gmail dot com
    Summary: doubleSyllables not catching all possibilites
    -Status: Open
    +Status: Feedback
    Type: Bug
    Package: Text_Statistics
    Operating System: ubuntu
    Package Version: 1.0.1
    PHP Version: 5.3.3
    Roadmap Versions:
    New Comment:

    -Status: Open
    +Status: Feedback



    Previous Comments:
    ------------------------------------------------------------------------

    [2011-07-10 06:56:25] doconnor

    Hi myq; can I get you to add a reproduceable test script? It's not clear
    to me what
    input would be missed

    ------------------------------------------------------------------------

    [2010-10-28 06:54:24] myq

    Description:
    ------------
    Need to add a few more exceptions to doubleSyllables to catch
    everything

    Test script:
    ---------------
    var $doubleSyllables = array('/\wlien/', // alien but not lien
    '/bl$/', // syllable
    '/tl$/', // castle [**add]
    '/io/', // biography

    ------------------------------------------------------------------------
  • Myqlarson at Jul 22, 2011 at 3:23 am
    Edit report at http://pear.php.net/bugs/bug.php?id=18003&edit=1

    ID: 18003
    Comment by: myqlarson@gmail.com
    Reported By: myqlarson at gmail dot com
    Summary: doubleSyllables not catching all possibilites
    Status: Feedback
    Type: Bug
    Package: Text_Statistics
    Operating System: ubuntu
    Package Version: 1.0.1
    PHP Version: 5.3.3
    Roadmap Versions:
    New Comment:

    castle.

    castle is two syllables, but is counted as one with the current code.

    you need to add '/tl$/' to the doubleSyllables array


    mr and mrs are also two syllables which are not caught.


    Previous Comments:
    ------------------------------------------------------------------------

    [2011-07-22 05:22:10] #732ec55b54a0ab9ecc2

    castle.

    castle is two syllables, but is counted as one with the current code.

    you need to add '/tl$/' to the doubleSyllables array


    mr and mrs are also two syllables which are not caught.

    ------------------------------------------------------------------------

    [2011-07-10 06:56:34] doconnor

    -Status: Open
    +Status: Feedback


    ------------------------------------------------------------------------

    [2011-07-10 06:56:25] doconnor

    Hi myq; can I get you to add a reproduceable test script? It's not clear
    to me what
    input would be missed

    ------------------------------------------------------------------------

    [2010-10-28 06:54:24] myq

    Description:
    ------------
    Need to add a few more exceptions to doubleSyllables to catch
    everything

    Test script:
    ---------------
    var $doubleSyllables = array('/\wlien/', // alien but not lien
    '/bl$/', // syllable
    '/tl$/', // castle [**add]
    '/io/', // biography

    ------------------------------------------------------------------------

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedJul 10, '11 at 4:56a
activeJul 22, '11 at 3:23a
posts3
users2
websitepear.php.net

2 users in discussion

Daniel Oconnor: 2 posts Myqlarson: 1 post

People

Translate

site design / logo © 2022 Grokbase