2.1.0
User Documentation for Apache MADlib
porter_stemmer.sql_in File Reference

implementation of porter stemmer operations in SQL More...

Functions

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

http://www.apache.org/licenses/LICENSE-2.0

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.

Date
September 2015

Function Documentation

◆ stem_token() [1/2]

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

◆ stem_token() [2/2]

text stem_token ( )

◆ stem_token_arr() [1/2]

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

◆ stem_token_arr() [2/2]

text stem_token_arr ( )