[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
(no description)
Copyright: | (C) 2018 Open Source Matters, Inc. |
License: | GNU General Public License version 2 or later; see LICENSE.txt |
File Size: | 934 lines (40 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
El:: (5 methods):
__construct()
tokenise()
stem()
toUpperCase()
toLowerCase()
__construct($locale = null) X-Ref |
Method to construct the language object. |
tokenise($input) X-Ref |
Method to tokenise a text string. It takes into account the odd punctuation commonly used in Greek text, mapping it to ASCII punctuation. Reference: http://www.teicrete.gr/users/kutrulis/Glosika/Stixi.htm param: string $input The input to tokenise. return: array An array of term strings. |
stem($token) X-Ref |
Method to stem a token. param: string $token The token to stem. return: string The stemmed token. |
toUpperCase($token, &$wCase) X-Ref |
Converts the token to uppercase, suppressing accents and diaeresis. The array $wCase contains a special map of the uppercase rule used to convert each character at each position. param: string $token Token to process param: array &$wCase Map of uppercase rules return: string |
toLowerCase($token, $wCase) X-Ref |
Converts the suppressed uppercase token back to lowercase, using the $wCase map to add back the accents, diaeresis and handle the special case of final sigma (different lowercase glyph than the regular sigma, only used at the end of words). param: string $token Token to process param: array $wCase Map of lowercase rules return: string |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |