| [2] | 1 | /****************************************************************************
|
|---|
| 2 | **
|
|---|
| [561] | 3 | ** Copyright (C) 2003-2006 Ben van Klinken and the CLucene Team.
|
|---|
| 4 | ** All rights reserved.
|
|---|
| [2] | 5 | **
|
|---|
| [846] | 6 | ** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
|
|---|
| [561] | 7 | ** All rights reserved.
|
|---|
| [2] | 8 | **
|
|---|
| [561] | 9 | ** This file may be used under the terms of the GNU Lesser General Public
|
|---|
| 10 | ** License version 2.1 as published by the Free Software Foundation and
|
|---|
| 11 | ** appearing in the file LICENSE.LGPL included in the packaging of this file.
|
|---|
| 12 | ** Please review the following information to ensure the GNU Lesser General
|
|---|
| 13 | ** Public License version 2.1 requirements will be met:
|
|---|
| 14 | ** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|---|
| 15 | **
|
|---|
| [2] | 16 | ****************************************************************************/
|
|---|
| 17 |
|
|---|
| 18 | #include "qtokenizer_p.h"
|
|---|
| 19 | #include "qclucene_global_p.h"
|
|---|
| 20 |
|
|---|
| 21 | #include <CLucene.h>
|
|---|
| 22 | #include <CLucene/analysis/AnalysisHeader.h>
|
|---|
| 23 |
|
|---|
| 24 | QT_BEGIN_NAMESPACE
|
|---|
| 25 |
|
|---|
| 26 | QCLuceneTokenizer::QCLuceneTokenizer()
|
|---|
| 27 | : QCLuceneTokenStream()
|
|---|
| 28 | {
|
|---|
| 29 | // nothing todo
|
|---|
| 30 | }
|
|---|
| 31 |
|
|---|
| 32 | QCLuceneTokenizer::QCLuceneTokenizer(const QCLuceneReader &reader)
|
|---|
| 33 | : QCLuceneTokenStream()
|
|---|
| 34 | , reader(reader)
|
|---|
| 35 | {
|
|---|
| 36 | // nothing todo
|
|---|
| 37 | }
|
|---|
| 38 |
|
|---|
| 39 | QCLuceneTokenizer::~QCLuceneTokenizer()
|
|---|
| 40 | {
|
|---|
| 41 | close();
|
|---|
| |
|---|