net.sf.snowball
Class SnowballProgram
public
class
SnowballProgram
extends Object
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.
Method Summary |
protected StringBuffer | assign_to(StringBuffer s) |
protected void | copy_from(SnowballProgram other) |
protected boolean | eq_s(int s_size, String s) |
protected boolean | eq_s_b(int s_size, String s) |
protected boolean | eq_v(StringBuffer s) |
protected boolean | eq_v_b(StringBuffer s) |
protected int | find_among(Among[] v, int v_size) |
protected int | find_among_b(Among[] v, int v_size) |
String | getCurrent()
Get the current string. |
protected void | insert(int c_bra, int c_ket, String s) |
protected void | insert(int c_bra, int c_ket, StringBuffer s) |
protected boolean | in_grouping(char[] s, int min, int max) |
protected boolean | in_grouping_b(char[] s, int min, int max) |
protected boolean | in_range(int min, int max) |
protected boolean | in_range_b(int min, int max) |
protected boolean | out_grouping(char[] s, int min, int max) |
protected boolean | out_grouping_b(char[] s, int min, int max) |
protected boolean | out_range(int min, int max) |
protected boolean | out_range_b(int min, int max) |
protected int | replace_s(int c_bra, int c_ket, String s) |
void | setCurrent(String value)
Set the current string. |
protected void | slice_check() |
protected void | slice_del() |
protected void | slice_from(String s) |
protected void | slice_from(StringBuffer s) |
protected StringBuffer | slice_to(StringBuffer s) |
protected int bra
protected StringBuffer current
protected int cursor
protected int ket
protected int limit
protected int limit_backward
protected SnowballProgram()
protected StringBuffer assign_to(StringBuffer s)
protected boolean eq_s(int s_size, String s)
protected boolean eq_s_b(int s_size, String s)
protected boolean eq_v(StringBuffer s)
protected boolean eq_v_b(StringBuffer s)
protected int find_among(
Among[] v, int v_size)
protected int find_among_b(
Among[] v, int v_size)
public String getCurrent()
Get the current string.
protected void insert(int c_bra, int c_ket, String s)
protected void insert(int c_bra, int c_ket, StringBuffer s)
protected boolean in_grouping(char[] s, int min, int max)
protected boolean in_grouping_b(char[] s, int min, int max)
protected boolean in_range(int min, int max)
protected boolean in_range_b(int min, int max)
protected boolean out_grouping(char[] s, int min, int max)
protected boolean out_grouping_b(char[] s, int min, int max)
protected boolean out_range(int min, int max)
protected boolean out_range_b(int min, int max)
protected int replace_s(int c_bra, int c_ket, String s)
public void setCurrent(String value)
Set the current string.
protected void slice_check()
protected void slice_del()
protected void slice_from(String s)
protected void slice_from(StringBuffer s)
protected StringBuffer slice_to(StringBuffer s)
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.