dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixing bug in HTML diff when the word '0' is encountered. Thanks siebrand for reporting
[lhc/web/wiklou.git]
/
includes
/
ZhClient.php
diff --git
a/includes/ZhClient.php
b/includes/ZhClient.php
index
bf2d393
..
61faa8d
100644
(file)
--- a/
includes/ZhClient.php
+++ b/
includes/ZhClient.php
@@
-20,8
+20,6
@@
class ZhClient {
/**
* Check if connection to zhdaemon is successful
/**
* Check if connection to zhdaemon is successful
- *
- * @access public
*/
function isconnected() {
return $this->mConnected;
*/
function isconnected() {
return $this->mConnected;
@@
-78,10
+76,9
@@
class ZhClient {
/**
* Convert the input to a different language variant
*
/**
* 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
* @return string the converted text
- * @access public
*/
function convert($text, $tolang) {
$len = strlen($text);
*/
function convert($text, $tolang) {
$len = strlen($text);
@@
-95,9
+92,8
@@
class ZhClient {
/**
* Convert the input to all possible variants
*
/**
* Convert the input to all possible variants
*
- * @param
string $text
input text
+ * @param
$text string:
input text
* @return array langcode => converted_string
* @return array langcode => converted_string
- * @access public
*/
function convertToAllVariants($text) {
$len = strlen($text);
*/
function convertToAllVariants($text) {
$len = strlen($text);
@@
-119,9
+115,8
@@
class ZhClient {
/**
* Perform word segmentation
*
/**
* Perform word segmentation
*
- * @param
string $text
input text
+ * @param
$text string:
input text
* @return string segmented text
* @return string segmented text
- * @access public
*/
function segment($text) {
$len = strlen($text);
*/
function segment($text) {
$len = strlen($text);
@@
-135,8
+130,6
@@
class ZhClient {
/**
* Close the connection
/**
* Close the connection
- *
- * @access public
*/
function close() {
fclose($this->mFP);
*/
function close() {
fclose($this->mFP);