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.
Field Summary
protected intbra
protected StringBuffercurrent
protected intcursor
protected intket
protected intlimit
protected intlimit_backward
Constructor Summary
protected SnowballProgram()
Method Summary
protected StringBufferassign_to(StringBuffer s)
protected voidcopy_from(SnowballProgram other)
protected booleaneq_s(int s_size, String s)
protected booleaneq_s_b(int s_size, String s)
protected booleaneq_v(StringBuffer s)
protected booleaneq_v_b(StringBuffer s)
protected intfind_among(Among[] v, int v_size)
protected intfind_among_b(Among[] v, int v_size)
StringgetCurrent()
Get the current string.
protected voidinsert(int c_bra, int c_ket, String s)
protected voidinsert(int c_bra, int c_ket, StringBuffer s)
protected booleanin_grouping(char[] s, int min, int max)
protected booleanin_grouping_b(char[] s, int min, int max)
protected booleanin_range(int min, int max)
protected booleanin_range_b(int min, int max)
protected booleanout_grouping(char[] s, int min, int max)
protected booleanout_grouping_b(char[] s, int min, int max)
protected booleanout_range(int min, int max)
protected booleanout_range_b(int min, int max)
protected intreplace_s(int c_bra, int c_ket, String s)
voidsetCurrent(String value)
Set the current string.
protected voidslice_check()
protected voidslice_del()
protected voidslice_from(String s)
protected voidslice_from(StringBuffer s)
protected StringBufferslice_to(StringBuffer s)

Field Detail

bra

protected int bra

current

protected StringBuffer current

cursor

protected int cursor

ket

protected int ket

limit

protected int limit

limit_backward

protected int limit_backward

Constructor Detail

SnowballProgram

protected SnowballProgram()

Method Detail

assign_to

protected StringBuffer assign_to(StringBuffer s)

copy_from

protected void copy_from(SnowballProgram other)

eq_s

protected boolean eq_s(int s_size, String s)

eq_s_b

protected boolean eq_s_b(int s_size, String s)

eq_v

protected boolean eq_v(StringBuffer s)

eq_v_b

protected boolean eq_v_b(StringBuffer s)

find_among

protected int find_among(Among[] v, int v_size)

find_among_b

protected int find_among_b(Among[] v, int v_size)

getCurrent

public String getCurrent()
Get the current string.

insert

protected void insert(int c_bra, int c_ket, String s)

insert

protected void insert(int c_bra, int c_ket, StringBuffer s)

in_grouping

protected boolean in_grouping(char[] s, int min, int max)

in_grouping_b

protected boolean in_grouping_b(char[] s, int min, int max)

in_range

protected boolean in_range(int min, int max)

in_range_b

protected boolean in_range_b(int min, int max)

out_grouping

protected boolean out_grouping(char[] s, int min, int max)

out_grouping_b

protected boolean out_grouping_b(char[] s, int min, int max)

out_range

protected boolean out_range(int min, int max)

out_range_b

protected boolean out_range_b(int min, int max)

replace_s

protected int replace_s(int c_bra, int c_ket, String s)

setCurrent

public void setCurrent(String value)
Set the current string.

slice_check

protected void slice_check()

slice_del

protected void slice_del()

slice_from

protected void slice_from(String s)

slice_from

protected void slice_from(StringBuffer s)

slice_to

protected StringBuffer slice_to(StringBuffer s)
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.