Tgrep Patterns - PowerPoint PPT Presentation

About This Presentation
Title:

Tgrep Patterns

Description:

Tgrep Patterns ... Tgrep Patterns – PowerPoint PPT presentation

Number of Views:33
Avg rating:3.0/5.0
Slides: 15
Provided by: Chihy3
Learn more at: http://www.cs.cmu.edu
Category:

less

Transcript and Presenter's Notes

Title: Tgrep Patterns


1
Tgrep Patterns
2
Patterns
  • 59 patterns in total
  • 14 categories

3
Simple Tense
  • Present, Past, Future
  • This is one of the major items in the Fulton
    County general assistance program.
  • The jury further said in term-end presentments
    that...
  • Failure to do this will continue to place a
    disproportionate burden on Fulton taxpayers.
  • Rhode Island is going to examine its Sunday sales
    law with possible revisions in mind.
  • He stopped the bus and told the youths he was
    going to call the CTA supervisor.

4
Perfect
  • Present Perfect Past Perfect
  • A person with a master's degree in physics,
    chemistry, math or English, yet who has not taken
    Education courses, is not permitted to teach in
    the public schools.
  • These have never gone out of style in
    Scandinavian homes...
  • The case of the judges in the 58th precinct of
    the 23d ward had been heard previously and taken
    under advisement by Karns.
  • The small shaft of blue had drifted down and come
    to rest at his feet.

5
Duration
  • Duration Phrases
  • The other important difference between the two
    Constitutions was that the President of the
    Confederacy held office for six (instead of four)
    years, and was limited to one term.
  • One of the most damaging tsunami on record
    followed the famous Lisbon earthquake of November
    1, 1755 its waves persisted for a week and were
    felt as far away as the English coast.
  • LAST
  • God's mercy and patience will last forever.

6
Questions
  • WH-questions How, Where, When, Why, Who, What
  • Where's Johnny, and why did you leave him?
  • Yes/No questions does, did, do, is, can
  • Can they stand rigid scrutiny?

7
Other Basic Patterns
  • Negatives
  • The jury did not elaborate...
  • Moreover, he said, many qualified young people
    are not going into medicine and dentistry because
    they can't afford the schooling costs.
  • The petition said that the couple has not lived
    together as man and wife for more than a year.
  • Passives
  • In any case, I have always been treated with the
    utmost courtesy by Englishmen...
  • In accordance with legislation passed at the last
    session of Congress, each Representative is
    authorized to deliver to the Post Office in bulk
    newsletters , speeches and other literature to be
    dropped in every letter box in his district.
  • How many times must we get burned before we
    learn?

8
Other Basic Patterns (Cont.)
  • Causative HAVE
  • Every legislator from Brasstown Bald to Folkston
    is going to have his every vote subjected to the
    closest scrutiny as a test of his political
    allegiances, not his convictions.
  • Possessive ('s)
  • Regarding Atlanta's new multi-million-dollar
    airport, the jury recommended...
  • Existential there
  • As of Sunday night, there was no word of a
    resolution being offered there to rescind the
    action.

9
Comparatives and Superlatives
  • Comparatives ADJ/ADV (than)
  • ... a proportionate distribution of these funds
    might disable this program in our less populous
    counties.
  • Karns said that the cases involved a matter "of
    even greater significance than the guilt or
    innocence" of the 50 persons.
  • Superlatives ADJ/ADV
  • The report called racial discrimination in
    employment "one of the most serious causes of
    family breakdown, desertion, and ADC dependency".
  • Since it was issued in the spring of 1611, the
    King James Version has been most generally
    considered the most poetic and beautiful of all
    translations of the Bible.
  • as ADJ/ADV as
  • This is an area nearly as large as Western
    Europe...

10
Conditionals (If)
  • If simple tense, future tense
  • (a possible consequence in the future)
  • For if ye forgive men their trespasses, your
    heavenly Father will also forgive you but if ye
    forgive not men their trespasses, neither will
    your Father forgive -- your trespasses.
  • If past simple, would
  • (a consequence that contradicts the current fact)
  • ... if Breasted agreed, they would get a car and
    tour the country, visiting every kind of
    industrial center.
  • If past perfect, would have
  • (a consequence that contradicts the fact in the
    past)
  • William A. Redding asserted that if the case had
    been heard in open court under rules of evidence,
    the testimony would have been completed in sixty
    days instead of five years.

11
Relative Clauses
  • With relative pronouns that, who, and which
  • Rep. Henry C. Grover, who teaches history in the
    Houston public schools, would ...
  • Omitted relative pronoun
  • The largest hurdle 0 the Republicans would have
    to face is ...

12
Interjections
  • Interjections
  • An unusual, if not extraordinary, rendering of
    the classic myth that involves the rescue of
    Prometheus from the rock by the U.S. Cavalry was
    given last week in the warehouse of the Albany
    Leather Conduit Company amid cheers of "Hubba
    hubba" and "Yalagaloo pip pip"!
  • Onomatopoeias
  • They can be going along, doing little damage,
    then bang, bang -- they can hit a couple of
    passes on you for touchdowns and put you in
    trouble.
  • Colorful Languages

13
Process
14
Process
  • Manually-written patterns with tgrep syntax
  • VP ltlt ((getgottengetsgettinggot).(VP lt
    VBN)) passive GET Passives can be formed with
    GET.
  • Generating matched sentences
  • cg/cg63.cmb
  • (TOP (S (NP (NP (DT The) (NNS conventions)) (SBAR
    (WHPP (IN into) (WHNP (WP which))) (S (NP (DT
    the) (NNS romantics)) (VP (VBD tried) (S (NP
    (-NONE- )) (AUX (TO to)) (VP (VB breath) (NP (NN
    life)))))))) (ADVP (RB no) (RB longer)) (VP (VBD
    corresponded) (PP (TO to) (NP (DT the) (NNS
    realities) (PP (IN of) (NP (NN thought) (CC and)
    (NN feeling))))))) (. .))
Write a Comment
User Comments (0)
About PowerShow.com