@@ -73,8 +73,8 @@ class Text_LanguageDetect
73
73
* If this value starts with a slash (/) or a dot (.) the value of
74
74
* $this->_data_dir will be ignored
75
75
*
76
- * @var string
77
- * @access private
76
+ * @var string
77
+ * @access private
78
78
*/
79
79
var $ _db_filename = 'lang.dat ' ;
80
80
@@ -84,7 +84,7 @@ class Text_LanguageDetect
84
84
* If this value starts with a slash (/) or a dot (.) the value of
85
85
* $this->_data_dir will be ignored
86
86
*
87
- * @var string
87
+ * @var string
88
88
* @access private
89
89
*/
90
90
var $ _unicode_db_filename = 'unicode_blocks.dat ' ;
@@ -94,8 +94,8 @@ class Text_LanguageDetect
94
94
*
95
95
* Should be set by PEAR installer
96
96
*
97
- * @var string
98
- * @access private
97
+ * @var string
98
+ * @access private
99
99
*/
100
100
var $ _data_dir = '@data_dir@ ' ;
101
101
@@ -104,24 +104,24 @@ class Text_LanguageDetect
104
104
*
105
105
* Will be loaded on start from $this->_db_filename
106
106
*
107
- * @var array
108
- * @access private
107
+ * @var array
108
+ * @access private
109
109
*/
110
110
var $ _lang_db = array ();
111
111
112
112
/**
113
113
* stores the map of the trigram data to unicode characters
114
114
*
115
115
* @access private
116
- * @var array
116
+ * @var array
117
117
*/
118
118
var $ _unicode_map ;
119
119
120
120
/**
121
121
* The size of the trigram data arrays
122
122
*
123
- * @var int
124
- * @access private
123
+ * @var int
124
+ * @access private
125
125
*/
126
126
var $ _threshold = 300 ;
127
127
@@ -131,35 +131,35 @@ class Text_LanguageDetect
131
131
* needed for score normalization. Different depending on the
132
132
* perl compatibility setting
133
133
*
134
- * @access private
135
- * @var int
136
- * @see setPerlCompatible()
134
+ * @access private
135
+ * @var int
136
+ * @see setPerlCompatible()
137
137
*/
138
138
var $ _max_score = 0 ;
139
139
140
140
/**
141
141
* Whether or not to simulate perl's Language::Guess exactly
142
142
*
143
- * @access private
144
- * @var bool
145
- * @see setPerlCompatible()
143
+ * @access private
144
+ * @var bool
145
+ * @see setPerlCompatible()
146
146
*/
147
147
var $ _perl_compatible = false ;
148
148
149
149
/**
150
150
* Whether to use the unicode block detection to speed up processing
151
151
*
152
152
* @access private
153
- * @var bool
153
+ * @var bool
154
154
*/
155
155
var $ _use_unicode_narrowing = true ;
156
156
157
157
/**
158
158
* stores the result of the clustering operation
159
159
*
160
- * @access private
161
- * @var array
162
- * @see clusterLanguages()
160
+ * @access private
161
+ * @var array
162
+ * @see clusterLanguages()
163
163
*/
164
164
var $ _clusters ;
165
165
@@ -355,7 +355,7 @@ public function omitLanguages($omit_list, $include_only = false)
355
355
*
356
356
* @access public
357
357
* @return int the number of languages
358
- * @throws Text_LanguageDetect_Exception
358
+ * @throws Text_LanguageDetect_Exception
359
359
*/
360
360
function getLanguageCount ()
361
361
{
@@ -397,7 +397,7 @@ public function languageExists($lang)
397
397
*
398
398
* @access public
399
399
* @return array the names of the languages known to this object<<<<<<<
400
- * @throws Text_LanguageDetect_Exception
400
+ * @throws Text_LanguageDetect_Exception
401
401
*/
402
402
function getLanguages ()
403
403
{
@@ -1149,11 +1149,11 @@ public function languageSimilarity($lang1 = null, $lang2 = null)
1149
1149
* Uses a nearest neighbor technique to generate the maximum possible
1150
1150
* number of dendograms from the similarity data.
1151
1151
*
1152
- * @access public
1153
- * @return array language cluster data
1154
- * @throws Text_LanguageDetect_Exception
1155
- * @see languageSimilarity()
1156
- * @deprecated this function will eventually be removed and placed into
1152
+ * @access public
1153
+ * @return array language cluster data
1154
+ * @throws Text_LanguageDetect_Exception
1155
+ * @see languageSimilarity()
1156
+ * @deprecated this function will eventually be removed and placed into
1157
1157
* the model generation class
1158
1158
*/
1159
1159
function clusterLanguages ()
0 commit comments