From b3173211e314a567f267b22a3299ee7830c69a54 Mon Sep 17 00:00:00 2001 From: Stefano Mazzocchi Date: Tue, 1 Jun 2010 08:02:28 +0000 Subject: [PATCH] adding an ngram function to GEL git-svn-id: http://google-refine.googlecode.com/svn/trunk@930 7d457c2a-affb-35e4-300a-418c747d4874 --- main/src/com/metaweb/gridworks/gel/ControlFunctionRegistry.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main/src/com/metaweb/gridworks/gel/ControlFunctionRegistry.java b/main/src/com/metaweb/gridworks/gel/ControlFunctionRegistry.java index b7c3b664c..cc8b18ab8 100644 --- a/main/src/com/metaweb/gridworks/gel/ControlFunctionRegistry.java +++ b/main/src/com/metaweb/gridworks/gel/ControlFunctionRegistry.java @@ -42,6 +42,7 @@ import com.metaweb.gridworks.expr.functions.strings.Fingerprint; import com.metaweb.gridworks.expr.functions.strings.IndexOf; import com.metaweb.gridworks.expr.functions.strings.LastIndexOf; import com.metaweb.gridworks.expr.functions.strings.MD5; +import com.metaweb.gridworks.expr.functions.strings.NGram; import com.metaweb.gridworks.expr.functions.strings.NGramFingerprint; import com.metaweb.gridworks.expr.functions.strings.Partition; import com.metaweb.gridworks.expr.functions.strings.Phonetic; @@ -147,6 +148,7 @@ public class ControlFunctionRegistry { registerFunction("phonetic", new Phonetic()); registerFunction("reinterpret", new Reinterpret()); registerFunction("jsonize", new Jsonize()); + registerFunction("ngram", new NGram()); registerFunction("indexOf", new IndexOf()); registerFunction("lastIndexOf", new LastIndexOf());