i.e. "The dog barks now." gives : Number: Singular, Time: Present.
the following is a part of my code, where it prints "Accepted" if the sentence given is syntactically correct.
CODE --> prolog
check(Sentence) :- s(Sentence, ) -> write('Accepted\n') s --> np(Number), vp(Number, Time).
What should I add in order to print as well Number and Time variables?
Thanks in advance!