ualberta-smr / StackOverflowNavCues

This repository holds the code related to extracting essential sentences for navigating Stack Overflow answers
2 stars 0 forks source link

Rule for "if you" needs to use lemmatization #29

Open snadi opened 5 years ago

snadi commented 5 years ago

In thread 50227069, answer, 50227170: Do n't mix CW and CW/CW - if you're using ES6, which you should be, always use CW, except when you need to reassign, in which case use CW.

is not identified as a conditional insight sentence because 're is not preprocessed into you are so the current rule doesn't match

snadi commented 5 years ago

Not related to lemmatization per se, but related to same rule. Perhaps it is too restrictive?

Example, this sentence (Q=50605220, A=50605397) seems to be valid but we rule it out

You can use this regex if you have to use type="text"