X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FZhClient.php;h=fd03ec4573cff4a5c0a114ae97eaaa7c9f172985;hb=80f4ee1720706211032526644c41a5b5d36d0bfa;hp=4299841b330a280114959e10cf3ab582a86d5b85;hpb=2040d1337efa7da140adc241d54b6fca0fb9fd0a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/ZhClient.php b/includes/ZhClient.php index 4299841b33..fd03ec4573 100644 --- a/includes/ZhClient.php +++ b/includes/ZhClient.php @@ -50,7 +50,7 @@ class ZhClient { } /** - * Establish conncetion + * Establish connection * * @access private * @@ -100,8 +100,8 @@ class ZhClient { /** * Convert the input to a different language variant * - * @param $text String: input text - * @param $tolang String: language variant + * @param string $text input text + * @param string $tolang language variant * @return string the converted text */ function convert( $text, $tolang ) { @@ -117,7 +117,7 @@ class ZhClient { /** * Convert the input to all possible variants * - * @param $text String: input text + * @param string $text input text * @return array langcode => converted_string */ function convertToAllVariants( $text ) { @@ -142,7 +142,7 @@ class ZhClient { /** * Perform word segmentation * - * @param $text String: input text + * @param string $text input text * @return string segmented text */ function segment( $text ) {