stephbuon / posextract

Grammatical information extraction methods designed for the analysis of historical and contemporary textual corpora.
MIT License
3 stars 0 forks source link

Extract Item Before Which or After Which if the POS is a NOUN #67

Open stephbuon opened 2 years ago

stephbuon commented 2 years ago

Rule A. Extract the word before "which" if item is a noun and replace "which" with that word.

"To give an illustration of how far the Department of the Board of Trade was behindhand in information , when the deputation waited upon the Board of Trade in February last , the President was asked whether he had seen a project which had been put forth by the Austrian Government for a new treaty with the Zollverein , and the right hon."

Rule B. Extract the word after which if that word is a noun.

"Which plan, then, held out the inducement to use force with the landlord; that which gave a reduction of 20 per cent on all rents at once, and an assurance that the time would come when there would be no rent, or that which promises an increase of rent—a perpetual rent—and only offers a security against eviction?"

stephbuon commented 2 years ago

This is another example:

If, to meet that objection, he deducted from Irish expenditure the salary of the Lord-Lieutenant, half of the present cost of the Constabulary and the Dublin metropolitan police, and a third of the cost of the judiciary, still the contribution which Ireland would make to our common Imperial expenditure would be only one-thirty-fourth.

stephbuon commented 2 years ago

How to I deal with this? Not sure.

"To show the state of distress in which the colonies were involved, he would quote a despatch in the blue book laid on the table yesterday."

he quote despatch he show state -> he show state of distress (this might be covered by new "prep_phrase" argument) colonies involved in which -> colonies involved in distress

stephbuon commented 2 years ago

I do not complain in the least of the manner in which the Bill has been conducted within the limits which the Prime Minister has allowed.