Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
BitchX
GitHub Repository: BitchX/BitchX1.3
Path: blob/master/dll/europa/cse476/t2.cpp
1074 views
1
#include <iostream.h>
2
#include "gnode.h"
3
4
int main(int argc, char *argv[]) {
5
genericNode a("((CAT (V)) (SUBCAT (_vp:inf)) (AGR (?a)) (VFORM (?v)))");
6
genericNode b("want ((CAT (V)) (ROOT (WANT1)) (VFORM (base)) (SUBCAT (_np _vp:inf _np_vp:inf)))");
7
8
cout << "A: " << a << endl;
9
cout << "B: " << b << endl;
10
11
cout << "unify(b, a): " << unify(b, a) << endl;
12
}
13
14