Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Fuzzy search on plone

656 views

Published on

  • Be the first to comment

  • Be the first to like this

Fuzzy search on plone

  1. 1. Fuzzy search on Plone CMS communications Inc, Manabu TERADA terada@cmscom.jp http://www.cmscom.jp 15 / Sept / 2012©2012 CMScom info@cmscom.jp
  2. 2. 1 Questions • Do you know Plone? • Do you like Plone? • Do you like Python? • Do you use Text search? (Google) • Do you like Did you mean ?©2012 CMScom info@cmscom.jp
  3. 3. 2 Who? (お前だれよ?) •Manabu TERADA @terapyon •PyCon JP 2012 Chair person •Member of Plone Users Group Japan •Committer of Plone and Zope •I m CEO of CMS communications Inchttp://www.cmscom.jp •Authors©2012 CMScom info@cmscom.jp
  4. 4. 3 About • I ll talk about Fuzzy Search on Plone • This topic is NOT Django/Flask and RDB • Plone is powerful CMS tool based on Zope/ Python • In intranet web site, we can t use Google, but we want to see word, it s same as Google.©2012 CMScom info@cmscom.jp
  5. 5. 4 Fuzzy search • I want to use fuzzy search. • I built and published fuzzy suggestion on Plone http://pypi.python.org/pypi/c2.search.fuzzy • NOT use Solr. I know Solr is good working, but we need to install, setting, implement are difficult. And I want to build original system.©2012 CMScom info@cmscom.jp
  6. 6. 5 Want • We can see suggestion word when push on text search. • From content item all text index.©2012 CMScom info@cmscom.jp
  7. 7. 6 System • At creating and to modify, creating original index data, like a dict object • Async using JQuery, get JSON • Levenshtein Distance • Using Automata system • Require only Python for English©2012 CMScom info@cmscom.jp
  8. 8. 7 Japanese • Using MeCab which is morphological engine • Sentence to word • Kanji to Yomi and Normalize • Because we have a lot of 同音異義語 • Require MeCab and mecab-python©2012 CMScom info@cmscom.jp
  9. 9. 8 Thanks • Supported by • ike@rokujohitoma • @hiratara.©2012 CMScom info@cmscom.jp
  10. 10. 9 Our Japanese book 4 Book©2012 CMScom info@cmscom.jp
  11. 11. 10 PyCon JP PyCon JP 2012 You will enjoy tomorrow too!©2012 CMScom info@cmscom.jp

×