Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Commit

Permalink
WIP: NGram module
Browse files Browse the repository at this point in the history
  • Loading branch information
parhamr committed Feb 15, 2015
1 parent 3ec0a0e commit 46d0be8
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.1.0

Adds NlpPure::NGram::Default module.

# 0.0.1

Repository created February 14, 2015.
6 changes: 6 additions & 0 deletions lib/nlp-pure/n_gram.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# encoding: utf-8
module NlpPure
# Namespace for NGram implementations
module NGram
end
end
16 changes: 16 additions & 0 deletions lib/nlp-pure/n_gram/word.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# encoding: utf-8
module NlpPure
# Namespace for NGram implementations
module NGram
module Word
DEFAULT_OPTIONS = {}.freeze
def parse(*args)
end

# NOTE: exposed as a method for easy mock/stub
def options
DEFAULT_OPTIONS
end
end
end
end
3 changes: 2 additions & 1 deletion lib/nlp-pure/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# encoding: utf-8
module NlpPure
VERSION = "0.0.1"
VERSION = "0.1.0"
end
2 changes: 1 addition & 1 deletion nlp-pure.gemspec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- encoding: utf-8 -*-
# encoding: utf-8
require File.expand_path('../lib/nlp-pure/version', __FILE__)

Gem::Specification.new do |gem|
Expand Down

0 comments on commit 46d0be8

Please sign in to comment.