From 370e83bb0dfd0c70de268c93bf07ad5ee0897192 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Fri, 15 Aug 2008 01:29:47 +0200 Subject: Update auf 1.13.0 --- includes/ZhClient.php | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'includes/ZhClient.php') diff --git a/includes/ZhClient.php b/includes/ZhClient.php index 7f2c5cbf..61faa8df 100644 --- a/includes/ZhClient.php +++ b/includes/ZhClient.php @@ -1,6 +1,4 @@ mConnected; @@ -80,10 +76,9 @@ class ZhClient { /** * Convert the input to a different language variant * - * @param string $text input text - * @param string $tolang language variant + * @param $text string: input text + * @param $tolang string: language variant * @return string the converted text - * @access public */ function convert($text, $tolang) { $len = strlen($text); @@ -97,9 +92,8 @@ class ZhClient { /** * Convert the input to all possible variants * - * @param string $text input text + * @param $text string: input text * @return array langcode => converted_string - * @access public */ function convertToAllVariants($text) { $len = strlen($text); @@ -121,9 +115,8 @@ class ZhClient { /** * Perform word segmentation * - * @param string $text input text + * @param $text string: input text * @return string segmented text - * @access public */ function segment($text) { $len = strlen($text); @@ -137,8 +130,6 @@ class ZhClient { /** * Close the connection - * - * @access public */ function close() { fclose($this->mFP); -- cgit v1.2.3-54-g00ecf