mirror of https://github.com/apache/lucene.git
{@link AttributeFactory} should be {@link AttributeSource.AttributeFactory}
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807809 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a6eecd50c6
commit
1e4c3cdf86
|
@ -157,7 +157,7 @@ public class WikipediaTokenizer extends Tokenizer {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Createa a new instance of the {@link org.apache.lucene.wikipedia.analysis.WikipediaTokenizer}. Attaches the
|
* Createa a new instance of the {@link org.apache.lucene.wikipedia.analysis.WikipediaTokenizer}. Attaches the
|
||||||
* <conde>input</code> to a the newly created JFlex scanner. Uses the given {@link AttributeFactory}.
|
* <conde>input</code> to a the newly created JFlex scanner. Uses the given {@link AttributeSource.AttributeFactory}.
|
||||||
*
|
*
|
||||||
* @param input The input
|
* @param input The input
|
||||||
* @param tokenOutput One of {@link #TOKENS_ONLY}, {@link #UNTOKENIZED_ONLY}, {@link #BOTH}
|
* @param tokenOutput One of {@link #TOKENS_ONLY}, {@link #UNTOKENIZED_ONLY}, {@link #BOTH}
|
||||||
|
|
|
@ -40,7 +40,7 @@ public class LetterTokenizer extends CharTokenizer {
|
||||||
super(source, in);
|
super(source, in);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Construct a new LetterTokenizer using a given {@link AttributeFactory}. */
|
/** Construct a new LetterTokenizer using a given {@link AttributeSource.AttributeFactory}. */
|
||||||
public LetterTokenizer(AttributeFactory factory, Reader in) {
|
public LetterTokenizer(AttributeFactory factory, Reader in) {
|
||||||
super(factory, in);
|
super(factory, in);
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,7 +43,7 @@ public final class LowerCaseTokenizer extends LetterTokenizer {
|
||||||
super(source, in);
|
super(source, in);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Construct a new LowerCaseTokenizer using a given {@link AttributeFactory}. */
|
/** Construct a new LowerCaseTokenizer using a given {@link AttributeSource.AttributeFactory}. */
|
||||||
public LowerCaseTokenizer(AttributeFactory factory, Reader in) {
|
public LowerCaseTokenizer(AttributeFactory factory, Reader in) {
|
||||||
super(factory, in);
|
super(factory, in);
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,7 +36,7 @@ public class WhitespaceTokenizer extends CharTokenizer {
|
||||||
super(source, in);
|
super(source, in);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Construct a new WhitespaceTokenizer using a given {@link AttributeFactory}. */
|
/** Construct a new WhitespaceTokenizer using a given {@link AttributeSource.AttributeFactory}. */
|
||||||
public WhitespaceTokenizer(AttributeFactory factory, Reader in) {
|
public WhitespaceTokenizer(AttributeFactory factory, Reader in) {
|
||||||
super(factory, in);
|
super(factory, in);
|
||||||
}
|
}
|
||||||
|
|
|
@ -142,7 +142,7 @@ public class StandardTokenizer extends Tokenizer {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a new StandardTokenizer with a given {@link AttributeFactory}.
|
* Creates a new StandardTokenizer with a given {@link AttributeSource.AttributeFactory}
|
||||||
*/
|
*/
|
||||||
public StandardTokenizer(AttributeFactory factory, Reader input, boolean replaceInvalidAcronym) {
|
public StandardTokenizer(AttributeFactory factory, Reader input, boolean replaceInvalidAcronym) {
|
||||||
super(factory);
|
super(factory);
|
||||||
|
|
|
@ -93,7 +93,7 @@ public class AttributeSource {
|
||||||
private AttributeFactory factory;
|
private AttributeFactory factory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An AttributeSource using the default attribute factory {@link AttributeFactory#DEFAULT_ATTRIBUTE_FACTORY}.
|
* An AttributeSource using the default attribute factory {@link AttributeSource.AttributeFactory#DEFAULT_ATTRIBUTE_FACTORY}.
|
||||||
*/
|
*/
|
||||||
public AttributeSource() {
|
public AttributeSource() {
|
||||||
this(AttributeFactory.DEFAULT_ATTRIBUTE_FACTORY);
|
this(AttributeFactory.DEFAULT_ATTRIBUTE_FACTORY);
|
||||||
|
|
Loading…
Reference in New Issue