Skip to content

Commit

Permalink
no need for included method
Browse files Browse the repository at this point in the history
  • Loading branch information
xinuc committed Oct 31, 2014
1 parent 8c40224 commit 95b9177
Show file tree
Hide file tree
Showing 3 changed files with 190 additions and 202 deletions.
6 changes: 3 additions & 3 deletions lib/indonesian_stemmer/irregular_words.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module IndonesianStemmer
module IrregularWords
SPECIAL_LETTERS = %w( K P N R )

class << self

private
def load_words(filename, chopped = false)
file = File.open path(filename), 'rb'
Expand Down Expand Up @@ -48,4 +48,4 @@ def path(filename)
ENDS_WITH_SUFFIX_CHARACTERS = %w( majikan ) + # ENDS_WITH_KAN
ENDS_WITH_I
end
end
end
Loading

0 comments on commit 95b9177

Please sign in to comment.