Skip to content

Commit

Permalink
Fixed leaky variable
Browse files Browse the repository at this point in the history
  • Loading branch information
yozlet authored and obra committed Jul 31, 2012
1 parent 9a2a685 commit 8659c0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scripts/pos.js
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ POSTagger.prototype.tag = function(words){
* Apply transformational rules
**/
for (var i = 0; i < words.length; i++) {
word = ret[i];
var word = ret[i];
// rule 1: DT, {VBD | VBP} --> DT, NN
if (i > 0 && ret[i - 1] == "DT") {
if (word == "VBD" ||
Expand Down

0 comments on commit 8659c0a

Please sign in to comment.