LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
Lima Namespace Reference

NAUTITIA. More...

Namespaces

namespace  Common
 
namespace  DocumentsReader
 
namespace  Handler
 
namespace  LinguisticProcessing
 
namespace  ObjetProcessing
 
namespace  XmlReader
 

Classes

class  AbstractAnalysisHandler
 The AbstractAnalysisHandler class defines the callback interface: the functions that are to be defined to handle the events generated by the LIMA linguistic analyzer. More...
 
class  AbstractDocumentHandler
 Callback to handle multimedia documents. More...
 
class  AbstractProcessingClient
 mother class of (abstract) clients that analyse content. More...
 
class  AbstractProcessingClientFactory
 A factory for the AbstractLinguisticProcessingClient: contains the registration of all implemented clients that are linked with the program. More...
 
class  AbstractProcessingClientFactoryFactory
 
class  AbstractProcessingClientHandler
 
class  AbstractProcessUnit
 
class  AbstractTextualAnalysisHandler
 defines callback interface More...
 
class  AbstractXmlAnalysisHandler
 The AbstractAnalysisHandler class defines the callback interface: the functions that are to be defined to handle the events generated by the LIMA linguistic analyzer. More...
 
class  AbstractXmlDocumentHandler
 abstract handler for XML processing : just inherits from different handlers More...
 
class  AccessByStringNotInitialized
 Use this exception to signal the used of a wrongly initialized LIMA dictionary. More...
 
class  AccessByStringOutOfRange
 Use this exception to signal a wrong access to a LIMA dictionary. More...
 
class  AmosePluginsManager
 
class  AnalysisContent
 Holds all data that pass through the ProcessUnits Analysis data are shared pointers, simplifying memory management. More...
 
class  AnalysisContentPrivate
 
class  AnalysisData
 just for semantics: base class for analysisData More...
 
class  AnalysisHandlerContainer
 
class  BadFileException
 
class  BoundsErrorException
 
struct  character_escaper
 
class  ContentHandler
 manipulateur de contenu More...
 
class  DumperStream
 
class  EmptyEntryException
 
class  EofException
 
class  FsaStringsPool
 
class  FsaStringsPoolPrivate
 
class  HandlerStreamBuf
 
class  InactiveUnitsData
 
class  InfiniteLoopException
 
class  InitializableObject
 defines an object that can be create and initialized by a SimpleFactory More...
 
class  InitializableObjectFactory
 Defines Factory for an Initializable Object. More...
 
class  InitializableObjectManager
 Manage initialization of InitializableObjects using configuration module and parameters. More...
 
class  InternalErrorException
 
class  InvalidCharException
 
class  InvalidConfiguration
 Use this exception to signal an error in one of the configuration files. More...
 
class  InvalidFileException
 
class  InvAutomatonException
 
class  InvNumberException
 
class  LimaController
 
class  LimaException
 The main LIMA exception class. More...
 
class  LimaFileSystemWatcher
 LimaFileSystemWatcher extends QFileSystemWatcher to work on replaced files More...
 
class  LimaFileSystemWatcherPrivate
 
class  LimaMainTaskRunner
 This class allows to run a function (obtained through a function pointer) inside the Qt event loop, thus allowing the objects it instantiates to emit and receive signals. More...
 
class  LimaSimpleClient
 
class  LimaSimpleClientDelegate
 
class  LimaWorker
 
class  LinguisticCode
 
class  MainFactoriesMap
 
class  MainFactory
 
class  MediaAnalysisDumper
 
struct  MediaAnalysisDumperInitializationParameters
 
class  MediaNotInitialized
 Use this exception to signal that a media is used which has not been initialized. More...
 
class  MediaProcessors
 
class  MediaProcessorsPrivate
 
class  MediaProcessUnit
 
struct  MediaProcessUnitInitializationParameters
 
class  MemoryErrorException
 
class  Node
 noeud de contenu au sein d'une structure. More...
 
class  NodePrivate
 
class  ObjectManager
 Manager for objects. More...
 
class  OpenFileException
 
class  ProcessingClientFactory
 LinguisticProcessingClientFactory is a singleton. More...
 
class  ProcessingClientFactoryFactory
 
class  ProcessUnitPipeline
 
class  ReadErrorException
 
class  RegistrableFactory
 Defines a Factory that automatically register to a MainFactory singleton. More...
 
class  ShiftFrom
 
class  ShiftFromPrivate
 
class  SimpleFactory
 
class  Singleton
 Defines access method for the singleton pattern. More...
 
class  StringsPool
 
class  StringsPoolPrivate
 
class  Structure
 
class  StructuredXmlDocumentHandler
 Handler pour les elements de parsing de document structure. More...
 
class  StructureHandler
 
class  StructureHandlerPrivate
 
class  StructurePrivate
 
class  TimeUtils
 This class contains utility functions to log informations about time, such as logging time elapsed since a specific moment. More...
 
class  TimeUtilsController
 This file contains a class to control log of informations about time, such as logging cumulated time for a specific function. More...
 
class  UnconsistentDictionaryException
 
class  UnknownCharClassException
 
class  UnknownLanguageException
 
class  XmlBowDocumentHandler
 Manipulation de media ; separation du contenu et de la structure. More...
 
class  XMLException
 Throw this exception when encountering problems with XML files opening or parsing. More...
 
class  XmlS2SyntaxException
 
class  XmlSimpleHandler
 Manipulation de media ; separation du contenu et de la structure. More...
 
class  XmlSimpleStreamHandler
 Manipulation de media ; separation du contenu et de la structure. More...
 
class  XmlSyntaxException
 

Typedefs

typedef std::map< std::string, void * > MainFactoryMap
 
typedef uint64_t STRUCT_ID
 Identifier of a structure in the structure index.
 
typedef uint64_t NODE_ID
 Identifier of a node in a document.
 
typedef uint64_t CONTENT_ID
 Identifier of an feature content.
 
typedef uint64_t TOPO_POS
 Topology information.
 
using LimaChar = QChar
 
using LimaString = QString
 

Enumerations

enum  LimaStatusCode {
  SUCCESS_ID , UNKNOWN_ERROR , CANNOT_OPEN_FILE_ERROR , OUT_OF_RANGE_ERROR ,
  UNSUPPORTED_LANGUAGE , INVALID_CONFIGURATION , MISSING_DATA , UNKNOWN_FORMAT
}
 

Functions

std::ostream & operator<< (ostream &os, const Node &node)
 
QDebug & operator<< (QDebug &os, const Node &node)
 
std::ostream & operator<< (ostream &os, const Structure &structure)
 
QDebug & operator<< (QDebug &os, const Structure &structure)
 
std::ostream & operator<< (std::ostream &os, const QString &s)
 
QDebug & operator<< (QDebug &os, const ShiftFrom &sf)
 
LIMA_COMMON_EXPORT QDebug & operator<< (QDebug &os, const uint128_t value)
 
LIMA_COMMON_EXPORT QTextStream & operator<< (QTextStream &os, const uint128_t value)
 
LIMA_COMMON_EXPORT std::ostream & operator<< (std::ostream &os, const uint128_t value)
 
LIMA_COMMON_EXPORT std::istream & operator>> (std::istream &is, uint128_t &value)
 
 BOOST_STRONG_TYPEDEF (char, NoParameters)
 
 BOOST_STRONG_TYPEDEF (uint8_t, MediaId)
 
 Q_GLOBAL_STATIC_WITH_ARGS (std::string, odds,("13579"))
 
LIMA_COMMON_EXPORT QDebug & operator<< (QDebug &os, const LinguisticCode &value)
 
LIMA_COMMON_EXPORT QTextStream & operator<< (QTextStream &os, const LinguisticCode &value)
 
LinguisticCode operator& (const LinguisticCode &lhs, const LinguisticCode &rhs) noexcept
 
LinguisticCode operator| (const LinguisticCode &lhs, const LinguisticCode &rhs) noexcept
 
LinguisticCode operator^ (const LinguisticCode &lhs, const LinguisticCode &rhs) noexcept
 
bool operator< (const LinguisticCode &lhs, const LinguisticCode &rhs)
 
bool operator> (const LinguisticCode &lhs, const LinguisticCode &rhs)
 
std::ostream & operator<< (std::ostream &os, const LinguisticCode &value)
 
std::istream & operator>> (std::istream &is, LinguisticCode &value)
 
 BOOST_STRONG_TYPEDEF (STRINGS_POOL_INDEX_TYPE, StringsPoolIndex)
 
std::string getThreadId ()
 

Variables

LIMA_MEDIAPROCESSORS_EXPORT typedef Lima::ProcessUnitPipeline< MediaProcessUnit > MediaProcessUnitPipeline
 
class LIMA_DATA_EXPORT NodePrivate
 
class LIMA_DATA_EXPORT StructurePrivate
 structure d'un document multimedia ou d'une collection.
 
int metatype_string_id =qRegisterMetaType<std::string>("std::string")
 

Detailed Description

NAUTITIA.

this file contains the definitions of several constraint functions for the detection of homosyntagmatic dependency relations

To use tuples.

Date
begin Mon Oct, 13 2003 (ven oct 18 2002)
Author
Gael de Chalendar Gael..nosp@m.de-C.nosp@m.halen.nosp@m.dar@.nosp@m.cea.f.nosp@m.r
Date
begin Wed May, 25 2022
Author
Gael de Chalendar Gael..nosp@m.de-C.nosp@m.halen.nosp@m.dar@.nosp@m.cea.f.nosp@m.r
Benoit Mathieu benoi.nosp@m.t.ma.nosp@m.thieu.nosp@m.@cea.nosp@m..fr *
Date
begin 2004
Author
Benoit Mathieu
Gael de Chalendar Gael..nosp@m.de-C.nosp@m.halen.nosp@m.dar@.nosp@m.cea.f.nosp@m.r
Date
Created on Jan, 20 2003
Author
Gael de Chalendar Gael..nosp@m.de-C.nosp@m.halen.nosp@m.dar@.nosp@m.cea.f.nosp@m.r
Date
Created on Nov, 19 2003

jys 1-OCT-2002

DictionaryEntry is the way to access dictionary datas DictionaryEntry manages recurent calls to lists of properties. Dictionaries in memory are specified in NA2002.r2128 JYS Dictionaries iterators are specified in NA2002.r2129 JYS

Comparison operators can be included with: To use tuple input and output operators,

Author
Gael de Chalendar Gael..nosp@m.de-C.nosp@m.halen.nosp@m.dar@.nosp@m.cea.f.nosp@m.r
Date
Created on Thu Nov, 13 2003
Author
Gael de Chalendar Gael..nosp@m.de-C.nosp@m.halen.nosp@m.dar@.nosp@m.cea.f.nosp@m.r
Date
Created on : Mon Aug 04 2003
Author
Claire Mouton clair.nosp@m.e.mo.nosp@m.uton@.nosp@m.cea..nosp@m.fr,
Guillaume Pitel guill.nosp@m.aume.nosp@m..pite.nosp@m.l@ce.nosp@m.a.fr

Typedef Documentation

◆ CONTENT_ID

typedef uint64_t Lima::CONTENT_ID

Identifier of an feature content.

Definition at line 45 of file DataTypes.h.

◆ LimaChar

using Lima::LimaChar = typedef QChar
Deprecated:
LimaChar is an alias for QChar. All its occurrences will be removed eventually.

Definition at line 30 of file LimaString.h.

◆ LimaString

using Lima::LimaString = typedef QString
Deprecated:
LimaString is an alias for QString. All its occurrences will be removed eventually.

Definition at line 33 of file LimaString.h.

◆ MainFactoryMap

typedef std::map<std::string, void*> Lima::MainFactoryMap

Definition at line 17 of file MainFactoriesMap.h.

◆ NODE_ID

typedef uint64_t Lima::NODE_ID

Identifier of a node in a document.

Definition at line 40 of file DataTypes.h.

◆ STRUCT_ID

typedef uint64_t Lima::STRUCT_ID

Identifier of a structure in the structure index.

Definition at line 35 of file DataTypes.h.

◆ TOPO_POS

typedef uint64_t Lima::TOPO_POS

Topology information.

Definition at line 50 of file DataTypes.h.

Enumeration Type Documentation

◆ LimaStatusCode

Enumerator
SUCCESS_ID 
UNKNOWN_ERROR 
CANNOT_OPEN_FILE_ERROR 
OUT_OF_RANGE_ERROR 
UNSUPPORTED_LANGUAGE 
INVALID_CONFIGURATION 
MISSING_DATA 
UNKNOWN_FORMAT 

Definition at line 236 of file LimaCommon.h.

Function Documentation

◆ BOOST_STRONG_TYPEDEF() [1/3]

Lima::BOOST_STRONG_TYPEDEF ( char  ,
NoParameters   
)

◆ BOOST_STRONG_TYPEDEF() [2/3]

Lima::BOOST_STRONG_TYPEDEF ( STRINGS_POOL_INDEX_TYPE  ,
StringsPoolIndex   
)

◆ BOOST_STRONG_TYPEDEF() [3/3]

Lima::BOOST_STRONG_TYPEDEF ( uint8_t  ,
MediaId   
)

◆ getThreadId()

std::string Lima::getThreadId ( )

Definition at line 41 of file limaSimpleClient.cpp.

◆ operator&()

LinguisticCode Lima::operator& ( const LinguisticCode &  lhs,
const LinguisticCode &  rhs 
)
inlinenoexcept

Definition at line 271 of file StdBitset.h.

◆ operator<()

bool Lima::operator< ( const LinguisticCode &  lhs,
const LinguisticCode &  rhs 
)
inline

Definition at line 289 of file StdBitset.h.

◆ operator<<() [1/12]

LIMA_DATA_EXPORT std::ostream & Lima::operator<< ( ostream &  os,
const Node &  node 
)

Definition at line 431 of file DataTypes.cpp.

◆ operator<<() [2/12]

LIMA_DATA_EXPORT std::ostream & Lima::operator<< ( ostream &  os,
const Structure &  structure 
)

Definition at line 454 of file DataTypes.cpp.

◆ operator<<() [3/12]

LIMA_COMMON_EXPORT QDebug & Lima::operator<< ( QDebug &  os,
const LinguisticCode &  value 
)

Definition at line 106 of file StdBitset.cpp.

◆ operator<<() [4/12]

LIMA_DATA_EXPORT QDebug & Lima::operator<< ( QDebug &  os,
const Node &  node 
)

Definition at line 439 of file DataTypes.cpp.

◆ operator<<() [5/12]

LIMA_DATAHANDLER_EXPORT QDebug & Lima::operator<< ( QDebug &  os,
const ShiftFrom &  sf 
)

Definition at line 160 of file shiftFrom.cpp.

◆ operator<<() [6/12]

LIMA_DATA_EXPORT QDebug & Lima::operator<< ( QDebug &  os,
const Structure &  structure 
)

Definition at line 467 of file DataTypes.cpp.

◆ operator<<() [7/12]

LIMA_COMMON_EXPORT QDebug & Lima::operator<< ( QDebug &  os,
const uint128_t  value 
)

Definition at line 34 of file LimaCommon.cpp.

◆ operator<<() [8/12]

LIMA_COMMON_EXPORT QTextStream & Lima::operator<< ( QTextStream &  os,
const LinguisticCode &  value 
)

Definition at line 113 of file StdBitset.cpp.

◆ operator<<() [9/12]

LIMA_COMMON_EXPORT QTextStream & Lima::operator<< ( QTextStream &  os,
const uint128_t  value 
)

Definition at line 41 of file LimaCommon.cpp.

◆ operator<<() [10/12]

std::ostream & Lima::operator<< ( std::ostream &  os,
const LinguisticCode &  value 
)
inline

Definition at line 299 of file StdBitset.h.

◆ operator<<() [11/12]

LIMA_DATA_EXPORT std::ostream & Lima::operator<< ( std::ostream &  os,
const QString &  s 
)

Definition at line 20 of file LimaString.cpp.

◆ operator<<() [12/12]

LIMA_COMMON_EXPORT std::ostream & Lima::operator<< ( std::ostream &  os,
const uint128_t  value 
)

Definition at line 48 of file LimaCommon.cpp.

◆ operator>()

bool Lima::operator> ( const LinguisticCode &  lhs,
const LinguisticCode &  rhs 
)
inline

Definition at line 294 of file StdBitset.h.

◆ operator>>() [1/2]

std::istream & Lima::operator>> ( std::istream &  is,
LinguisticCode &  value 
)
inline

Definition at line 305 of file StdBitset.h.

◆ operator>>() [2/2]

LIMA_COMMON_EXPORT std::istream & Lima::operator>> ( std::istream &  is,
uint128_t &  value 
)

Definition at line 72 of file LimaCommon.cpp.

◆ operator^()

LinguisticCode Lima::operator^ ( const LinguisticCode &  lhs,
const LinguisticCode &  rhs 
)
inlinenoexcept

Definition at line 283 of file StdBitset.h.

◆ operator|()

LinguisticCode Lima::operator| ( const LinguisticCode &  lhs,
const LinguisticCode &  rhs 
)
inlinenoexcept

Definition at line 277 of file StdBitset.h.

◆ Q_GLOBAL_STATIC_WITH_ARGS()

Lima::Q_GLOBAL_STATIC_WITH_ARGS ( std::string  ,
odds  ,
("13579")   
)

Variable Documentation

◆ MediaProcessUnitPipeline

Definition at line 26 of file MediaProcessUnitPipeline.h.

◆ metatype_string_id

int Lima::metatype_string_id =qRegisterMetaType<std::string>("std::string")

Definition at line 50 of file limaSimpleClientDelegate.cpp.

◆ NodePrivate

Definition at line 53 of file DataTypes.h.

◆ StructurePrivate

structure d'un document multimedia ou d'une collection.

Un document multimedia complexe (e.g une vidéo, un doc XML) ou une collection de documents mono/multimedia (qui est alors représenté dans un fichier XML) a sa structure topologique représentéee par cette classe. Il s'agit d'un arbre dont chaque noeud représente soit un document (décrit lui-même par un ou plusieurs contenus) soit un ensemble de documents (eux-même structures).

Definition at line 137 of file DataTypes.h.