1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
/*******************************************************************************
* NOM:
* ROLE:
* HISTORIQUE:
* 05/05/2001, xxx, initial version
*******************************************************************************/
#ifndef BuildComponents_H
#define BuildComponents_H
/*_____INCLUDE-FILES__________________________________________________________*/
/*_____GLOBAL-DEFINE__________________________________________________________*/
/*_____GLOBAL-TYPES___________________________________________________________*/
/*_____GLOBAL-DATA____________________________________________________________*/
/*_____GLOBAL-MACROS__________________________________________________________*/
/*_____GLOBAL-FUNCTIONS-PROTOTYPES____________________________________________*/
namespace SpecificationChecker
{
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Collections::Generic;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
using namespace System::IO;
public ref class BuildComponents
{
public:
static List<ElementSemanticM^>^ plisteQualificatif;
static List<ElementSemanticM^>^ plistePredicat;
static List<ElementSemanticM^>^ plistePrecondition;
static List<ElementSemanticM^>^ plisteUnivers;
BuildComponents::BuildComponents();
BuildComponents::~BuildComponents();
static CAnalysedSegmentM^ BuildComponents::GetElementsSemantics( List<ElementSemanticM^>^ plisteElement);
System::String^ BuildComponents::FormatPhrase( PropositionNormalizedM^ precondition);
List<PropositionNormalizedM^>^ BuildComponents::ReordonneListe( List<PropositionNormalizedM^>^ plistPreconditionNormalized);
static bool BuildComponents::CheckPeconditions( List<CObjetM^>^ plistObjectsNormalized, List<PropositionNormalizedM^>^ plistePreconditionNormalized);
static int* BuildComponents::ComputeNumber( int* iiValue, ElementSemanticM^ pEnreg, int& u);
static List<CAnalysedWordM^>^ BuildComponents::ComputeEntity( List<CAnalysedWordM^>^ pColor, ElementSemanticM^ pEnreg, int& V, bool &bColorIsInitialized);
static CAnalysedWordM^ BuildComponents::FillWord( ElementSemanticM^ pEnreg);
static void BuildComponents::ReinitString( System::String^& wsText, System::String^& wsVerb, System::String^& wsSujet, System::String^& wsIdentifier, System::String^& wsComplement, System::String^ wsDeclencheur, System::String^ wsCandidatIdentifier);
static List<QualificateurNormalizedM^>^ BuildComponents::StoreQualificateur( List<QualificateurNormalizedM^>^ plistQualificateurNormalized, int& Occurence, int& iOldEnreg, Array<Int32^> iAlloc, ElementSemanticM^ pEnreg, QualificateurNormalizedM^ pelementNormalized, System::String^ wsPredicat, System::String^ wsVerb, System::String^ wsSujet, System::String^ wsComplement, System::String^ wsDeclencheur, System::String^ wsText, System::String^ wsIdentifier, System::String^ wsCandidatIdentifier, enPOSM& iPos, int& iType, Array<Int32>^ iiValue);
static List<PropositionNormalizedM^>^ BuildComponents::StoreProposition( List<PropositionNormalizedM^>^ plistpredicatNormalized, int& Occurence, int& iOldEnreg, int& iAlloc, ElementSemanticM^ pEnreg, PropositionNormalizedM^ pelementNormalized, System::String^ wsDefinition, System::String^ wsPredicat, System::String^ wsVerb, System::String^ wsSujet, System::String^ wsComplement, System::String^ wsDeclencheur, System::String^ wsText, System::String^ wsIdentifier, System::String^ wsCandidatIdentifier, enPOSM& iPos, int& iType, Array<Int3>^ iiValue);
static ElementSemanticM^ BuildComponents::ProcessQualificateur( ElementSemanticM^ pPrevEnreg, ElementSemanticM^ pEnreg, ElementSemanticM^ pNextEnreg, List<CAnalysedWordM^>^ pColor, bool& bColorIsInitialized, bool& bVirgule, bool& bSujet, bool& bIdent, bool& bVerb, bool& bComplement, enPOSM& iPos, Int32^ iiValue, int& iIdent, System::String^& wsCandidatIdentifier, System::String^& wsSujet, System::String^& wsVerb, System::String^& wsComplement);
static ElementSemanticM^ BuildComponents::ProcessNoun( ElementSemanticM^ pPrevEnreg, ElementSemanticM^ pEnreg, ElementSemanticM^ pNextEnreg, List<CAnalysedWordM^>^ pColor, bool& bColorIsInitialized, bool& bVirgule, bool& bSujet, bool& bIdent, bool& bVerb, bool& bComplement, enPOSM& iPos, int* iiValue, int& iIdent, System::String^& wsCandidatIdentifier, System::String^& wsSujet, System::String^& wsVerb, System::String^& wsComplement);
static ElementSemanticM^ BuildComponents::ProcessElementSemantic( ElementSemanticM^ pPrevEnreg, ElementSemanticM^ pEnreg, ElementSemanticM^ pNextEnreg, List<CAnalysedWordM^>^ pColor, bool& bColorIsInitialized, bool& bVirgule, bool& bSujet, bool& bIdent, bool& bVerb, bool& bComplement, int& iAlloc, enPOSM& iPos, int* iiValue, int& iIdent, System::String^& wsCandidatIdentifier, System::String^& wsSujet, System::String^& wsVerb, System::String^& wsComplement, System::String^ wsDeclencheur);
static List<QualificateurNormalizedM^>^ BuildComponents::reformeQualificateur( List<ElementSemanticM^>^ plisteQualificatif);
static List<PropositionNormalizedM^>^BuildComponents::reformePredicat( List<ElementSemanticM^>^ plistePredicat);
static List<PropositionNormalizedM^>^ BuildComponents::reformePrecondition(List<ElementSemanticM^>^ plistePrecondition, List<PropositionNormalizedM^>^ plistPreconditionNormalized, List<QualificateurNormalizedM^>^ plistQualificateurNormalized);
static List<CObjetM^>^ BuildComponents::reformObjets( List<QualificateurNormalizedM^>^ plistQualificateurNormalized);
bool BuildComponents::ParseObjects( CAnalysedSegmentM^ pSegment);
static List<System::String^>^ BuildComponents::reformeUnivers( List<ElementSemanticM^>^ plisteUnivers);
List<System::String^>^ BuildComponents::ParseUniversChaine( List<System::String^>^ pListeUniversNormalized, List<System::String^>^ plistUniversSousChaine);
static List<System::String^>^ BuildComponents::ParseUnivers( List<PropositionNormalizedM^>^ plistePredicatNormalized, List<System::String^>^ plisteUniversNormalized);
void BuildComponents::MarkPredicate( List<PropositionNormalizedM^>^ plistePredicatNormalized);
};
};
#endif |
Partager