Closed progval closed 9 years ago
Do you suggest some smart solution? Because I think to a lot of heuristics which are easy to dupe.
Nope. @ProjetPP/ensl-team, any idea?
Maybe ignore it if only has dashes in it, and long words?
If there is only implicit multiplications and substractions of variables, then ignore it. Refinement: ignore it only if there is few substractions (less than three), and a lot of multiplications (more than twice the number of substractions).
I like that !
Marc CHEVALIER
Le 02/12/2014 20:28, Tom Cornebize a écrit :
If there is only implicit multiplications and substractions of variables, then ignore it. Refinement: ignore it only if there is few substractions (less than three), and a lot of multiplications (more than twice the number of substractions).
— Reply to this email directly or view it on GitHub https://github.com/ProjetPP/PPP-CAS/issues/5#issuecomment-65288891.
I think that we should simply not display the answer of the CAS module if the Wikipedia or Wikidata module answered.
This would be difficult to implement without adding a module in front of the core which specifically does that.
On 03/12/2014 12:01, Tom Cornebize wrote:
I think that we should simply not display the answer of the CAS module if the Wikipedia or Wikidata module answered.
Reply to this email directly or view it on GitHub: https://github.com/ProjetPP/PPP-CAS/issues/5#issuecomment-65390874
I solve that by ignoring answers which contains the same letters (and in the same number) as the input. In this case, we can assume the CAS does nothing (or at least nothing interesting) and it is rational to return nothing.
Fixed.
On query Antoine de Saint-Exupéry
AntoineSaintde−Exupry
is displayed as one of the main results. This should be fixed for the public demo.(issue from https://github.com/ProjetPP/PPP-WebUI/issues/23#issuecomment-65230975)