Skip to content

Commit f6bd5d0

Browse files
committed
CS fixes by phpcbf
1 parent f37126e commit f6bd5d0

File tree

2 files changed

+97
-92
lines changed

2 files changed

+97
-92
lines changed

Text/LanguageDetect.php

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ class Text_LanguageDetect
7373
* If this value starts with a slash (/) or a dot (.) the value of
7474
* $this->_data_dir will be ignored
7575
*
76-
* @var string
77-
* @access private
76+
* @var string
77+
* @access private
7878
*/
7979
var $_db_filename = 'lang.dat';
8080

@@ -84,7 +84,7 @@ class Text_LanguageDetect
8484
* If this value starts with a slash (/) or a dot (.) the value of
8585
* $this->_data_dir will be ignored
8686
*
87-
* @var string
87+
* @var string
8888
* @access private
8989
*/
9090
var $_unicode_db_filename = 'unicode_blocks.dat';
@@ -94,8 +94,8 @@ class Text_LanguageDetect
9494
*
9595
* Should be set by PEAR installer
9696
*
97-
* @var string
98-
* @access private
97+
* @var string
98+
* @access private
9999
*/
100100
var $_data_dir = '@data_dir@';
101101

@@ -104,24 +104,24 @@ class Text_LanguageDetect
104104
*
105105
* Will be loaded on start from $this->_db_filename
106106
*
107-
* @var array
108-
* @access private
107+
* @var array
108+
* @access private
109109
*/
110110
var $_lang_db = array();
111111

112112
/**
113113
* stores the map of the trigram data to unicode characters
114114
*
115115
* @access private
116-
* @var array
116+
* @var array
117117
*/
118118
var $_unicode_map;
119119

120120
/**
121121
* The size of the trigram data arrays
122122
*
123-
* @var int
124-
* @access private
123+
* @var int
124+
* @access private
125125
*/
126126
var $_threshold = 300;
127127

@@ -131,35 +131,35 @@ class Text_LanguageDetect
131131
* needed for score normalization. Different depending on the
132132
* perl compatibility setting
133133
*
134-
* @access private
135-
* @var int
136-
* @see setPerlCompatible()
134+
* @access private
135+
* @var int
136+
* @see setPerlCompatible()
137137
*/
138138
var $_max_score = 0;
139139

140140
/**
141141
* Whether or not to simulate perl's Language::Guess exactly
142142
*
143-
* @access private
144-
* @var bool
145-
* @see setPerlCompatible()
143+
* @access private
144+
* @var bool
145+
* @see setPerlCompatible()
146146
*/
147147
var $_perl_compatible = false;
148148

149149
/**
150150
* Whether to use the unicode block detection to speed up processing
151151
*
152152
* @access private
153-
* @var bool
153+
* @var bool
154154
*/
155155
var $_use_unicode_narrowing = true;
156156

157157
/**
158158
* stores the result of the clustering operation
159159
*
160-
* @access private
161-
* @var array
162-
* @see clusterLanguages()
160+
* @access private
161+
* @var array
162+
* @see clusterLanguages()
163163
*/
164164
var $_clusters;
165165

@@ -355,7 +355,7 @@ public function omitLanguages($omit_list, $include_only = false)
355355
*
356356
* @access public
357357
* @return int the number of languages
358-
* @throws Text_LanguageDetect_Exception
358+
* @throws Text_LanguageDetect_Exception
359359
*/
360360
function getLanguageCount()
361361
{
@@ -397,7 +397,7 @@ public function languageExists($lang)
397397
*
398398
* @access public
399399
* @return array the names of the languages known to this object<<<<<<<
400-
* @throws Text_LanguageDetect_Exception
400+
* @throws Text_LanguageDetect_Exception
401401
*/
402402
function getLanguages()
403403
{
@@ -1149,11 +1149,11 @@ public function languageSimilarity($lang1 = null, $lang2 = null)
11491149
* Uses a nearest neighbor technique to generate the maximum possible
11501150
* number of dendograms from the similarity data.
11511151
*
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
11571157
* the model generation class
11581158
*/
11591159
function clusterLanguages()

0 commit comments

Comments
 (0)