Skip to content

Commit

Permalink
fix bug in pos-based filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
gkovacs committed May 15, 2011
1 parent febabb4 commit 9075d14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion possuccessrates.rb
Expand Up @@ -8,7 +8,7 @@
def printPerPOSSuccessRate(inputLines)
partsOfSpeech.each { |pos|
puts "==="+pos
printSuccessRate(inputLines.select {|x| x.include?(pos) } )
printSuccessRate(inputLines.select {|x| x.include?(pos) && !x.include?("/"+pos) } )
puts ""
}
end
Expand Down

0 comments on commit 9075d14

Please sign in to comment.