[wp-trac] [WordPress Trac] #25585: Arabic stopwords comparison

WordPress Trac noreply at wordpress.org
Tue Oct 15 19:29:29 UTC 2013


#25585: Arabic stopwords comparison
-------------------------------------------+--------------------
 Reporter:  alex-ye                        |       Owner:
     Type:  enhancement                    |      Status:  new
 Priority:  normal                         |   Milestone:  3.7
Component:  General                        |     Version:  trunk
 Severity:  normal                         |  Resolution:
 Keywords:  needs-patch reporter-feedback  |
-------------------------------------------+--------------------

Comment (by alex-ye):

 Replying to [comment:7 nacin]:
 > Best I can tell, you cannot add hamza, diacritics, and tāʼ marbūṭah to
 the stopwords list because the list only operates on entire words, not the
 stripping of individual characters, correct?
 >
 Yes, If we can't remove those chars from the user input before the
 stopwords comparison, the Arabic translators may need to write every
 stopword 3-5 times! as you know we can't trust the user input.

 > We could also add a filter to the end of the parse_search_terms()
 method. But at that point, I think the crazy regular expression in
 parse_search() should possibly be moved into it, and search_terms_count
 should be set after?
 1+

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25585#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list