Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Templates that can draw information out of parts of sentences #19

Open
jrising opened this issue Dec 15, 2012 · 0 comments
Open

Add Templates that can draw information out of parts of sentences #19

jrising opened this issue Dec 15, 2012 · 0 comments
Labels

Comments

@jrising
Copy link
Owner

jrising commented Dec 15, 2012

Examples:

((not by) | by + x * (nor would it) | y* (but by) ):

        text[11]

"We note the success we have achieved in our endeavors to safeguard Finland's security, not by the dangerous expedient of relying on military means, but by gaining the confidence of the great power which is our neighbor, by maintaining friendly relations with all countries near and far, by dissociating ourselves from the conflicts of interests and tensions between others and by adhering faithfully to all obligations undertaken. "

        template[11]

('%sentence * the success * achieved in * , not by the dangerous * , but by * , by * , by * and by * ', '@print *4 // - // the success *2 achieved in *3 // AND // *5 // + // the success *2 achieved in *3 // AND // *6 // + // the success *2 achieved in *3 // AND // *7 // + // the success *2 achieved in *3 // AND // *8 // + // the success *2 achieved in *3')

((weaken _x + | strengthen)_y + | not affect_z)_t of s*(either + and | or)

        text[28]

'Acceptance of the proposed arms limitation agreement will weaken the power of American military planners, strengthen the power of American proponents of general disarmament, but not affect the short-range military spending of either the U.S. or the USSR. '

        template[28]

('%sentence * will weaken * , strengthen * , but not affect * of either * or *', '@print *1 // - // *2 // AND // *1 // + // *3 // AND // *1 // 0 // *4 of *5 // AND // *1 // 0 // *4 of *6')


        text[31]

'Adopting the policy of ineligibility would cause the President not to relinquish his office when the term is over. he will take over the military force. a civil war will ensue and when it is over, the victorious side will put a despot in power.'

        template[31]

('%sentences * %will cause %noun not to %verb * / * %will %verb * / * %will ensue and when it is over , * %will %verb *', '@print *1 // + // %noun not %verbing *2 // AND // %noun not %verbing1 *2 // + // %noun %verb2 *4 // AND // %noun %verb2 *4 // + // *5 ensuing // AND // *5 ensuing // + // *6 %verb3 *7 # Let us not forget to change the periods for colons and make that work! And we have to be able to change %verb2 and %verb3 to %verbing2 and %verbing3!')


        text[32]

"The policy of impeachment would have three immediate effects. One, it would bring about a check on the presiden's power. Two, it would make more feasible the provision of a four-year term. And finally, it would place impeachment power with the legislature. Of the three, this is the only unacceptable one. It will bring about the President's dependence on Congress and will lead to tyranny in the legislature."

        template[32]

('%sentences * %will have three %adj effects / One , it %will bring about * / Two , it %will make more feasible * / And finally , it %will place * with the * / Of * , this is the only unacceptable one / It %will bring about * and %will lead to *', '@print *1 // + // *2 // AND // *1 // + // *3 // AND // *1 // + // *7 // AND // *1 // + // *8 // AND // *8 // - // utility')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant