Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.1

Bug #18003 doubleSyllables not catching all possibilites
Submitted: 2010-10-28 10:54 UTC
From: myq Assigned:
Status: Open Package: Text_Statistics (version 1.0.1)
PHP Version: 5.3.3 OS: ubuntu
Roadmaps: (Not assigned)    
Subscription  


 [2010-10-28 10:54 UTC] myq (myq larson)
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

Comments

 [2011-07-10 10:56 UTC] doconnor (Daniel O'Connor)
Hi myq; can I get you to add a reproduceable test script? It's not clear to me what input would be missed
 [2011-07-10 10:56 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Feedback
 [2011-07-22 09:23 UTC] myq (myq larson)
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-08-25 10:28 UTC] doconnor (Daniel O'Connor)
-Status: Feedback +Status: Open