detecting english programmatically Algorithm

NCIS agents are armed federal law enforcement investigators, who frequently organize with other America government agency and have a presence in more than 41 nation and on America Navy vessels. Its primary function is to investigate criminal activity involve the America Navy and America Marine Corps, though its wide mandate includes national security, counterintelligence, counter-terrorism, cyber warfare, and the protection of America naval assets worldwide.

detecting english programmatically source code, pseudocode and analysis