diff --git a/doc/runtime-api.html b/doc/runtime-api.html index 90f862a0e..a441703f7 100644 --- a/doc/runtime-api.html +++ b/doc/runtime-api.html @@ -689,6 +689,20 @@ System.out.println(a.DetCN(quant, cn));
+ +In C# you first have to embed the grammar by calling: +
+dynamic g = gr.Embed() ++ +
Now creating new trees is just a matter of calling ordinary C# +methods: +
+Console.WriteLine(g.DetCN(quant,e)) +DetCN (DetQuant IndefArt NumSg) (AdjCN (PositA red_A) (UseN house_N)) ++ +