org.apache.lucene.analysis.shingle
Class ShingleMatrixFilter.Matrix
java.lang.Object
org.apache.lucene.analysis.shingle.ShingleMatrixFilter.Matrix
- Enclosing class:
- ShingleMatrixFilter
public static class ShingleMatrixFilter.Matrix
- extends Object
A column focused matrix in three dimensions:
Token[column][row][z-axis] {
{{hello}, {greetings, and, salutations}},
{{world}, {earth}, {tellus}}
};
todo consider row groups
to indicate that shingles is only to contain permutations with texts in that same row group.
ShingleMatrixFilter.Matrix
public ShingleMatrixFilter.Matrix()
getColumns
public List<ShingleMatrixFilter.Matrix.Column> getColumns()
permutationIterator
public Iterator<ShingleMatrixFilter.Matrix.Column.Row[]> permutationIterator()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.