Most users want the search to ignore accents
where "économétrie"
finds "econometrie", "Econométrie", "Économétrie".
What do you think about a PLIP to give Plone lexicon a casenormalizer
that would use plone.i18n stuff to normalize ZCTextIndex lexical
values ?
(as lucene latin normalizer does)
that would be the occasion to fix a bug, that "économétrie" does'nt
find "Économétrie" (plone.i18n stuff manages that, plone lexicon, not)
(I can write the PLIP and implement it... but i know it is a major issue)
Thanks
Thomas
--
Thomas Desvenain
Téléphone : 09 51 37 35 18
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today.
http://p.sf.net/sfu/quest-dev2dev2
_______________________________________________
Plone-i18n mailing list
Plone...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plone-i18n
I can understand this, if not use it. My translation students are
capable, but they have to work on the University's locked down
systems. As we are in Australia, the keyboard is set to US English,
with no accents etc. Like I said, they are capable enough to discover
work arounds, but they are also looking for workflow pace - and being
able to search accent free would be a boon to their productivity
cheers
L.
>
> What do you think about a PLIP to give Plone lexicon a casenormalizer
> that would use plone.i18n stuff to normalize ZCTextIndex lexical
> values ?
>
> (as lucene latin normalizer does)
>
> that would be the occasion to fix a bug, that "économétrie" does'nt
> find "Économétrie" (plone.i18n stuff manages that, plone lexicon, not)
>
> (I can write the PLIP and implement it... but i know it is a major issue)
>
> Thanks
>
> Thomas
>
> --
> Thomas Desvenain
>
> Téléphone : 09 51 37 35 18
>
> ------------------------------------------------------------------------------
> Simplify data backup and recovery for your virtual environment with vRanger.
> Installation's a snap, and flexible recovery options mean your data is safe,
> secure and there when you need it. Discover what all the cheering's about.
> Get your free trial download today.
> http://p.sf.net/sfu/quest-dev2dev2
> _______________________________________________
> Plone-i18n mailing list
> Plone...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/plone-i18n
>
--
Betteridge’s Law of Headlines states that “any headline which ends in
a question mark can be answered by the word ‘no’ “. (via
factoringprimes)
from The Best of Wikipedia http://bestofwikipedia.tumblr.com/
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
It seems it was done in products like ploneglossary since 2006 or
http://pypi.python.org/pypi/collective.latin1Splitter but it was never
added into a plip.
If you do this for latin you should do it for other alphabets.
Regards,
--
Encolpe DEGOUTE
http://encolpe.degoute.free.fr/
Logiciels libres, hockey sur glace et autres activités cérébrales
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
Antonio Carrasco Valero carra...@gmail.com Model Driven Development, sl Valencia España (Spain) www.ModelDD.org
Not really. We already have and ship such a list and use it as part of
plone.i18n. It depends on the http://pypi.python.org/pypi/Unidecode
library, which has a pretty comprehensive list and maps about 46000
characters from the entire Unicode range.
So all we need to do is:
from plone.i18n.normalizer.base import baseNormalize
ascii = baseNormalize('some text')
The baseNormalize function only uses the Unidecode mappings with some
upper limit - as the phonetic mappings for Asian languages aren't good
enough. This makes sense for this use-case as well, as Asian languages
need different approaches for search anyways, like not doing
whitespace delimited splitting.
But thanks for the pointer :)
Hanno
------------------------------------------------------------------------------
Got Input? Slashdot Needs You.
Take our quick survey online. Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
+10 :)
The framework team is accepting PLIPs for 4.3 - please get it in :)
Hanno
------------------------------------------------------------------------------
Got Input? Slashdot Needs You.
Take our quick survey online. Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
On Mon, Jun 6, 2011 at 3:08 PM, thomas desvenain
<thomas.d...@gmail.com> wrote:
> Most users want the search to ignore accents
>
> where "économétrie"
> finds "econometrie", "Econométrie", "Économétrie".
>
> What do you think about a PLIP to give Plone lexicon a casenormalizer
> that would use plone.i18n stuff to normalize ZCTextIndex lexical
> values ?
>
> (I can write the PLIP and implement it... but i know it is a major issue)+10 :)
The framework team is accepting PLIPs for 4.3 - please get it in :)
Hanno
Hi, Thomas
I'm Japanese Plone developer and I made UnicodeSplitter on Plone4
(http://dev.plone.org/plone/ticket/9309) .
I can support this PLIP and I'll add test for Japanese.
But I think this product may not have risk for Japanese.
Please let me know when it get started.
2011/8/12 Jonathan Lewis <jonathan.l...@gmail.com>:
> Thomas,
>
> Thanks for your efforts on this.
>
> On 2011/08/12, at 4:36, thomas desvenain wrote:
>
>>
>> == Participants ==
>> Thomas Desvenain
>> I need volunteers to add tests for eastern languages.
>>
>
> ------------------------------------------------------------------------------> I'll contact the Japanese Plone developers regarding this.
>
> Jonathan Lewis
> Hitotsubashi University, Tokyo
>
>
>
> FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
> Subversion made easy with a complete admin console. Easy
> to use, easy to manage, easy to install, easy to extend.
> Get a Free download of the new open ALM Subversion platform now.
> http://p.sf.net/sfu/wandisco-dev2dev
> _______________________________________________
> Plone-developers mailing list
> Plone-de...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/plone-developers
>
I'm Japanese Plone developer and I made UnicodeSplitter on Plone4
(http://dev.plone.org/plone/ticket/9309) .
I can support this PLIP and I'll add test for Japanese.
But I think this product may not have risk for Japanese.
Please let me know when it get started.
2011/8/12 Jonathan Lewis <jonathan.l...@gmail.com>:
> Thomas,
>
> Thanks for your efforts on this.
>
> On 2011/08/12, at 4:36, thomas desvenain wrote:
>
>>
>> == Participants ==
>> Thomas Desvenain
>> I need volunteers to add tests for eastern languages.
>>
>
> I'll contact the Japanese Plone developers regarding this.
>
> Jonathan Lewis
> Hitotsubashi University, Tokyo
>
>
>
> ------------------------------------------------------------------------------
> FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
> Subversion made easy with a complete admin console. Easy
> to use, easy to manage, easy to install, easy to extend.
> Get a Free download of the new open ALM Subversion platform now.
> http://p.sf.net/sfu/wandisco-dev2dev
> _______________________________________________
> Plone-developers mailing list
> Plone-de...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/plone-developers
>
------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
I'm sorry for late response.
>> That's not a problem if 'œuf' is stored as 'oeuf' in lexicon, or 'économie' as 'economie'...
>> but i don't feel very comfortable with the fact that, for example, "テス" will be stored stored as "30c630b9", even if i have not seen any border effect on plone behaviour related to this,
>> (especially considering that this normalization doesn't have any added value for those languages)
I think big problem for eastern languages (China, Korean and Japanese). And, It is maybe problem for Arabic languages.
> I believe the bigram splitter activates itself for certain character ranges, so perhaps a solution along those lines would work?
>
> If not, making this a configurable option like some of the other text index options (lexicon etc.) makes sense.
>
> David
+1
This system should use character ranges for to need languages.
--
===========================
Manabu TERADA (@terapyon)
tera...@ca2.so-net.ne.jp
===========================
On 2012/01/18, at 7:10, David Glick (GW) wrote:
>
> On Jan 17, 2012, at 2:06 PM, thomas desvenain wrote:
>
>> Hi,
>>
>> I have implemented the PLIP, but I have a doubt.
>>
>> As far as i know, my implementation works, is tested (i have tests in english, french and japanese for now), is backward compatible.
>> But I don't like that the values stored in plone_lexicon are not human-readable anymore for languages where translation into ascii is not obvious (eastern languages)
>>
>> That's not a problem if 'œuf' is stored as 'oeuf' in lexicon, or 'économie' as 'economie'...
>> but i don't feel very comfortable with the fact that, for example, "テス" will be stored stored as "30c630b9", even if i have not seen any border effect on plone behaviour related to this,
>> (especially considering that this normalization doesn't have any added value for those languages)
>>
>> I don't know how to check, according to site language, if normalization is relevant or not.
>> Anyway, testing in splitter which is the current language is not reasonable, and API doesn't allow us to pass this as an argument.
>>
>> So i wonder if it wouldn't be better to make use of I18NNormalizer as an option through an optional profile for our plone site ?
>>
>
> I believe the bigram splitter activates itself for certain character ranges, so perhaps a solution along those lines would work?
>
> If not, making this a configurable option like some of the other text index options (lexicon etc.) makes sense.
>
> David
>
>
> ----------
> David Glick
> Web Developer
> david...@groundwireconsulting.com
> 206.286.1235x32
>
> Groundwire Consulting is here.
>
> http://groundwire.org/about/FAQ-gw-consulting
>
>
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d