New York City Police Department officials gathered on Dec. 20 to discuss how they can mine online clues in order to spot the next gunman preparing to attempt an attack akin to the recent tragedy in Newtown, Conn.

According to a report in the New York Times, Police Commissioner Ray Kelly indicated that targeted searches for terminology used in communications of mass shooters in the past could help law enforcement surreptitiously interact with the shooter and thwart any plans to inflict harm.

Kelly told the Times that these tactics resemble strategies now in use to detect potential terrorists online. The algorithm would search for "apolitical or deranged killers before they become active shooters," he said.

The NYPD meeting included intelligence leaders within the department, along with other senior police officials. Spokesman Paul Browne also indicated that NYPD officers will be sent to Newtown and other shooting sites to gather data that could help in New York.

Photo from Shutterstock