Closed Mochahintwain closed 3 years ago
@Mochahintwain Can you please add this to the correct repository? This was opened in an Azure repository.
The first pattern will not work since "I" is not lowercase.
If you want to match "I thought ..." you have to use the following pattern:
pattern = [
{"LOWER": "i", "IS_SENT_START": True},
{"LOWER": "thought"}
]
In the third pattern, the "IS_SENT_START": False is not really helping here. It will match on any word "our" in any sentence no matter what is follwed by this word.
Thanks for noticing....I looked up how to change the repository but can't find it...only found it for project boards but we don't have a board. How does that work?
And what do I have to write in the pattern to match for "I thought I share our newest features with you" and ANY other sentence that includes I THOUGHT and the word OUR?
@marvinbuss the syntax {"IS_SENT_START": False, "OP": "*"} works only for words that come before the word in the pattern right? what about the sentences where we can't make any assumptions about how the sentence will end but still want to match as soon as the sentence starts with a certain set of words. One example: "I thought I share our newest features with you" Now the Words we match is "I thought" and "our". Now do I need to add something to make sure it matches even though there are words coming after the words in pattern3?
` def _you_centered21( self, rule_id="R0061", description="Put your recipient in the center of your sentence. Simply replace the I focused sentence with a You focused one.That's how you catch their attention.", info="Try to be very precise on what you want and use the present form if possible.", example_pos="You can find a guide on how you can benefit from the most recent product update attached.", example_neg="I thought I share our newest features with you" ) -> None: """ Check for negative and positive tone.