open cast mining stemming algorithm