LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
bowText.h
Go to the documentation of this file.
1
// Copyright 2002-2013 CEA LIST
2
// SPDX-FileCopyrightText: 2022 CEA LIST <gael.de-chalendar@cea.fr>
3
//
4
// SPDX-License-Identifier: MIT
5
6
/************************************************************************
7
*
8
* @file bowText.h
9
* @author Besancon Romaric
10
* @date Tue Oct 7 17:13:26 2003
11
* copyright Copyright (C) 2003 by CEA LIST
12
*
13
* @brief
14
*
15
*
16
***********************************************************************/
17
18
#ifndef BOWTEXT_H
19
#define BOWTEXT_H
20
21
#include "
linguisticProcessing/LinguisticProcessingCommon.h
"
22
23
#include <boost/shared_ptr.hpp>
24
25
#include <vector>
26
#include <iostream>
27
28
namespace
Lima
{
29
namespace
Common {
30
namespace
BagOfWords {
31
32
class
AbstractBoWElement;
33
47
class
LIMA_BOW_EXPORT
BoWText
:
public
std::vector< boost::shared_ptr< AbstractBoWElement > >
48
{
49
public
:
50
BoWText
();
51
BoWText
(
const
BoWText
&);
52
BoWText
& operator = (
const
BoWText
&);
53
virtual
~BoWText
();
54
virtual
void
clear();
55
56
friend
LIMA_BOW_EXPORT
std::ostream&
operator <<
(std::ostream&,
const
BoWText
&);
57
friend
LIMA_BOW_EXPORT
QDebug&
operator <<
(QDebug&,
const
BoWText
&);
58
59
void
writeBoWText(std::ostream& stream);
60
61
std::string
lang
;
62
};
63
64
}
// namespace BagOfWords
65
}
// namespace Common
66
}
// namespace Lima
67
68
#endif
operator<<
QDebug & operator<<(QDebug &qd, const std::string &str)
Definition
QsLog.cpp:39
LinguisticProcessingCommon.h
LIMA_BOW_EXPORT
#define LIMA_BOW_EXPORT
Definition
LinguisticProcessingCommon.h:80
Lima::Common::BagOfWords::BoWText
This class represents a list of elements, that are pointers on polymmorphic tokens that can be simple...
Definition
bowText.h:48
Lima::Common::BagOfWords::BoWText::lang
std::string lang
Definition
bowText.h:61
Lima
NAUTITIA.
Definition
AmosePluginsManager.h:15
lima_linguisticprocessing
src
linguisticProcessing
common
BagOfWords
bowText.h
Generated by
1.9.8