diff options
Diffstat (limited to 'web/server/h2o/libh2o/misc/oktavia/src/stemmer/among.jsx')
-rw-r--r-- | web/server/h2o/libh2o/misc/oktavia/src/stemmer/among.jsx | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/web/server/h2o/libh2o/misc/oktavia/src/stemmer/among.jsx b/web/server/h2o/libh2o/misc/oktavia/src/stemmer/among.jsx deleted file mode 100644 index f695b94be..000000000 --- a/web/server/h2o/libh2o/misc/oktavia/src/stemmer/among.jsx +++ /dev/null @@ -1,34 +0,0 @@ -import "base-stemmer.jsx"; - -class Among -{ - var s_size : int; /* search string */ - var s : string; /* search string */ - var substring_i : int; /* index to longest matching substring */ - var result : int; /* result of the lookup */ - var instance : Nullable.<BaseStemmer> ; - /* object to invoke method on. It is a BaseStemmer */ - var method : Nullable.<(BaseStemmer) -> boolean>; - /* method to use if substring matches */ - - function constructor (s : string, substring_i : int, result : int) - { - this.s_size = s.length; - this.s = s; - this.substring_i = substring_i; - this.result = result; - this.method = null; - this.instance = null; - } - - function constructor (s : string, substring_i : int, result : int, - method : (BaseStemmer) -> boolean, instance : BaseStemmer) - { - this.s_size = s.length; - this.s = s; - this.substring_i = substring_i; - this.result = result; - this.method = method; - this.instance = instance; - } -} |