2

Possible Duplicate:
How does the automatic subjective filter work?

When you're writing a question, the system will show you a red bar with a warning if the question looks subjective.

Subjective or non-programming questions (e.g., What is your favourite programming language?) seem to be easily recognized.

How, exactly, is this done? Heuristics, algorithms, machine learning?

I'm amazed!

4

3 Answers 3

2

Jeff uses this regex:

return Regex.IsMatch(s, 
@"\bbest\b|\bworst\b|\bhardest\b|\byour?\b|\bfavou?rite\b", 
RegexOptions.IgnoreCase);
0

I'm fairly sure it just detects words like "favo[u]rite" and "best". I've not seen it detect a non-programming question.

0

Having the word "best" in the title triggers it.