Open moutard opened 11 years ago
in the file algo/common/words_extractor.js Cotton.Algo.Tools.extractWordsFromTitle
this regexp doesnt really work. And it' seems not tested.
ex: "Wolfgang Amadeus Mozart - Wikipédia" return: ["Wolfgang", "Amadeus", "Mozart", "", "", "Wikipédia"] 2 empty strings.
in the file algo/common/words_extractor.js Cotton.Algo.Tools.extractWordsFromTitle
this regexp doesnt really work. And it' seems not tested.
ex: "Wolfgang Amadeus Mozart - Wikipédia" return: ["Wolfgang", "Amadeus", "Mozart", "", "", "Wikipédia"] 2 empty strings.