changeset 143:318929703dec

characterNormalization (reg,norm, none)
author abukhman
date Thu, 12 Aug 2010 13:39:40 +0200
parents 83e35adb92d3
children 070b61f32519
files zpt/page_main_gis.zpt zpt/page_main_text.zpt zpt/page_main_text_dict.zpt
diffstat 3 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/zpt/page_main_gis.zpt	Thu Aug 12 12:26:07 2010 +0200
+++ b/zpt/page_main_gis.zpt	Thu Aug 12 13:39:40 2010 +0200
@@ -1,4 +1,4 @@
 
-<tal:block tal:define="pageinfo python:options.get('pageinfo',None); docinfo python:options.get('docinfo',None) ;highlightQuery python:pageinfo.get('highlightQuery','');sn python:pageinfo.get('sn','')  ">
-  <div tal:content="structure python:here.getTextPage(mode='gis',pn=pageinfo['current'],docinfo=docinfo, highlightQuery=highlightQuery, sn=sn, pageinfo=pageinfo)"></div>
+<tal:block tal:define="pageinfo python:options.get('pageinfo',None); docinfo python:options.get('docinfo',None) ;highlightQuery python:pageinfo.get('highlightQuery','');sn python:pageinfo.get('sn','') ;characterNormalization python:pageinfo.get('characterNormalization','') ">
+  <div tal:content="structure python:here.getTextPage(mode='gis',pn=pageinfo['current'],docinfo=docinfo, highlightQuery=highlightQuery, sn=sn, pageinfo=pageinfo, characterNormalization=characterNormalization)"></div>
 </tal:block>
\ No newline at end of file
--- a/zpt/page_main_text.zpt	Thu Aug 12 12:26:07 2010 +0200
+++ b/zpt/page_main_text.zpt	Thu Aug 12 13:39:40 2010 +0200
@@ -1,4 +1,4 @@
 
-<tal:block tal:define="pageinfo python:options.get('pageinfo',None); docinfo python:options.get('docinfo',None) ;highlightQuery python:pageinfo.get('highlightQuery','');sn python:pageinfo.get('sn','')  ">
-  <div tal:content="structure python:here.getTextPage(mode='text',pn=pageinfo['current'],docinfo=docinfo, highlightQuery=highlightQuery, sn=sn, pageinfo=pageinfo)"></div>
+<tal:block tal:define="pageinfo python:options.get('pageinfo',None); docinfo python:options.get('docinfo',None) ;highlightQuery python:pageinfo.get('highlightQuery','');sn python:pageinfo.get('sn',''); characterNormalization python:pageinfo.get('characterNormalization','')">
+  <div tal:content="structure python:here.getTextPage(mode='text',pn=pageinfo['current'],docinfo=docinfo, highlightQuery=highlightQuery, sn=sn, pageinfo=pageinfo, characterNormalization=characterNormalization)"></div>
 </tal:block>
\ No newline at end of file
--- a/zpt/page_main_text_dict.zpt	Thu Aug 12 12:26:07 2010 +0200
+++ b/zpt/page_main_text_dict.zpt	Thu Aug 12 13:39:40 2010 +0200
@@ -1,3 +1,3 @@
-<tal:block tal:define="pageinfo python:options.get('pageinfo',None); docinfo python:options.get('docinfo',None) ;highlightQuery python:pageinfo.get('highlightQuery','');sn python:pageinfo.get('sn','') ">
-  <div tal:content="structure python:here.getTextPage(mode='text_dict',pn=pageinfo['current'],docinfo=docinfo, highlightQuery=highlightQuery, sn=sn, pageinfo=pageinfo)"></div>
+<tal:block tal:define="pageinfo python:options.get('pageinfo',None); docinfo python:options.get('docinfo',None) ;highlightQuery python:pageinfo.get('highlightQuery','');sn python:pageinfo.get('sn','');characterNormalization python:pageinfo.get('characterNormalization','')">
+  <div tal:content="structure python:here.getTextPage(mode='text_dict',pn=pageinfo['current'],docinfo=docinfo, highlightQuery=highlightQuery, sn=sn, pageinfo=pageinfo, characterNormalization=characterNormalization)"></div>
 </tal:block>
\ No newline at end of file