public Model(string someArgs) { gp = GraphematicProcessor.Instance; mp = MorphologyProcessor.Instance; sp = SyntaxProcessor.Instance; semP = new SemanticProcessor(); }
public override void initialise() { morphology = new MorphologyProcessor(); morphology.initialise(); orthography = new OrthographyProcessor(); orthography.initialise(); syntax = new SyntaxProcessor(); syntax.initialise(); formatter = new TextFormatter(); // AG: added call to initialise for formatter formatter.initialise(); }
public void SetUp() { pathToFile = Environment.CurrentDirectory + "\\SourceCodeFiles\\Class.cs"; asyncReader = new AsyncFileReader(); string sourceCode = asyncReader.Read(pathToFile).Result; syntaxProcessor = new SyntaxProcessor(); syntaxProcessResult = syntaxProcessor.Process(sourceCode); SyntaxTree syntaxTree = CSharpSyntaxTree.ParseText(sourceCode); root = syntaxTree.GetRoot(); }
public void SetUp() { _database = new Mock <IDatabase>(); _processor = new SyntaxProcessor(); }
public override void initialise() { _syntax = new SyntaxProcessor(); _factory = new NLGFactory(); }
public Projection() { sym = SyntaxProcessor.Instance; sem = new SemanticProcessor(); }
public Projection(SyntaxProcessor sy, SemanticProcessor se) { sym = sy; sem = se; }