Changes

Jump to navigation Jump to search
615 bytes added ,  16:01, 26 January 2015
no edit summary
* <code>ft:tokenize("École", map { 'diacritics': 'sensitive' })</code> returns the string {{Code|école}}.
* <code>declare ft-option using stemming; ft:tokenize("GIFTS")</code> returns a single string {{Code|gift}}.
|}
 
==ft:normalize==
{| width='100%'
|-
| width='120' | '''Signatures'''
|{{Func|ft:normalize|$input as xs:string|xs:string*}}<br/>{{Func|ft:normalize|$input as xs:string, $options as item()|xs:string*}}
|-
| '''Summary'''
|Normalizes the given {{Code|$input}} string, using the current default full-text options or the {{Code|$options}} specified as second argument. The function provides the same arguments as [[#ft:tokenize|ft:tokenize]].
|-
| '''Examples'''
|
* <code>ft:tokenize("Häuser am Meer", map { 'case': 'sensitive' })</code> returns the string {{Code|Hauser am Meer}}.
|}
;Version 8.0
* Added: [[#ft:contains|ft:contains]], [[#ft:normalize|ft:normalize]]
* Updated: Options added to [[#ft:tokenize|ft:tokenize]]
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu