@@ -279,13 +279,13 @@ discard block  | 
                                                    ||
| 279 | 279 | public function transformNounToVerb($tags, $i, $token)  | 
                                                        
| 280 | 280 |      { | 
                                                        
| 281 | 281 | # Noun to verb if the word before is 'would'  | 
                                                        
| 282 | -        if ($this->isSingularNoun($tags[$i]['tag']) && $tags[$i - 1]['token'] == 'would') { | 
                                                        |
| 282 | +        if ($this->isSingularNoun($tags[$i]['tag']) && $tags[$i-1]['token'] == 'would') { | 
                                                        |
| 283 | 283 | $tags[$i]['tag'] = 'VB';  | 
                                                        
| 284 | 284 | }  | 
                                                        
| 285 | 285 | |
| 286 | 286 | # If we get noun noun, and the 2nd can be a verb, convert to verb  | 
                                                        
| 287 | 287 | if ($this->isNoun($tags[$i]['tag']) &&  | 
                                                        
| 288 | - $this->isNoun($tags[$i - 1]['tag']) &&  | 
                                                        |
| 288 | + $this->isNoun($tags[$i-1]['tag']) &&  | 
                                                        |
| 289 | 289 | $this->tokenExists($token)  | 
                                                        
| 290 | 290 |          ) { | 
                                                        
| 291 | 291 |              if ($this->isPastTenseVerb($token)) { | 
                                                        
@@ -306,7 +306,7 @@ discard block  | 
                                                    ||
| 306 | 306 | public function transformVerbToNoun($tags, $i)  | 
                                                        
| 307 | 307 |      { | 
                                                        
| 308 | 308 | # Converts verbs after 'the' to nouns  | 
                                                        
| 309 | -        if ($tags[$i - 1]['tag'] == 'DT' && $this->isVerb($tags[$i]['tag'])) { | 
                                                        |
| 309 | +        if ($tags[$i-1]['tag'] == 'DT' && $this->isVerb($tags[$i]['tag'])) { | 
                                                        |
| 310 | 310 | $tags[$i]['tag'] = 'NN';  | 
                                                        
| 311 | 311 | }  | 
                                                        
| 312 | 312 | |