Permalink
Browse files

Initial commit

  • Loading branch information...
0 parents commit 7253bdc054cd7f9445c7297649146a84653faa15 @weavejester committed Nov 16, 2011
Showing with 29 additions and 0 deletions.
  1. +6 −0 .gitignore
  2. +13 −0 README.md
  3. +3 −0 project.clj
  4. +7 −0 src/stemmer/snowball/english.clj
@@ -0,0 +1,6 @@
+pom.xml
+*jar
+/lib/
+/classes/
+.lein-failures
+.lein-deps-sum
@@ -0,0 +1,13 @@
+# snowball-stemmer
+
+FIXME: write description
+
+## Usage
+
+FIXME: write
+
+## License
+
+Copyright (C) 2011 FIXME
+
+Distributed under the Eclipse Public License, the same as Clojure.
@@ -0,0 +1,3 @@
+(defproject snowball-stemmer "1.0.0-SNAPSHOT"
+ :description "FIXME: write description"
+ :dependencies [[org.clojure/clojure "1.2.1"]])
@@ -0,0 +1,7 @@
+(ns stemmer.snowball.english
+ "Implementation of the Snowball stemming algorithm for the English language.
+ See: http://snowball.tartarus.org/algorithms/english/stemmer.html"
+ (:require [clojure.string :as str]))
+
+(defn step-0 [word]
+ (str/replace word #"('s'|'s|')$" ""))

0 comments on commit 7253bdc

Please sign in to comment.