User Documentation for Apache MADlib
porter_stemmer.sql_in File Reference

implementation of porter stemmer operations in SQL More...


text stem_token (text token)
 Returns stem of input token. Returns NULL if input token is NULL. More...
text [] stem_token_arr (text[] token_arr)
 Returns stems in an array of input token array. Returns NULL element for corresponding input NULL token. More...
text stem_token ()
text stem_token_arr ()

Detailed Description

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at


Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

September 2015

Function Documentation

◆ stem_token() [1/2]

text stem_token ( text  token)
tokenText token
stem of token.

◆ stem_token() [2/2]

text stem_token ( )

◆ stem_token_arr() [1/2]

text [] stem_token_arr ( text []  token_arr)
token_arrText[] token
stems array of input token array.

◆ stem_token_arr() [2/2]

text stem_token_arr ( )