#ifndef INIT_H
#define INIT_H
     
    
#include "chart.h"
#include "rules.h"
#include "lexique.h"
//#include "stdafx.h"                               
                                
#ifdef VC
  bool InitOnNew(RuleList& rules, RuleList& locution, LexList& lex, Chart& chart);
  bool InitOnOpen(RuleList& rules, RuleList& locution, LexList& lex, Chart& chart, const char * texte); 
#endif

  bool StepParse(/*const NOEUD& goal,*/
		RuleList& rules,
		RuleList& locution,
		LexList& dico,
		Chart& chart,
		int num_locuteur,
		int debut);

  void WordParse(/*const NOEUD& goal,*/
  	             RuleList& rules,
 		         RuleList& locution,
	             LexList& dico,
	             Chart& chart );

  void Parse(const NOEUD& goal,
    	     RuleList& rules,
	         RuleList& locution,
	         LexList& dico,
	         Chart& chart );
	  /*       
void StepParseSegment(const NOEUD& goal,
  	              RuleList& rules,
	              LexList& dico,
	              Chart& chart );
	    */          
void ParseSegment(/*const NOEUD& goal,*/
  	              RuleList& rules,
 		          RuleList& locution,
	              LexList& dico,
	              Chart& chart );	
	              
void FullParseSegment(/*const NOEUD& goal,*/
  	              RuleList& rules,
 		          RuleList& locution,
	              LexList& dico,
	              Chart& chart );	                            	         	           


#endif


