Meet Parsey McParseface, a whimsically named computer program that helps machines understand written English.

Alphabet Inc. subsidiary Google is offering the code, and SyntaxNet—the software programming toolkit that it is part of—free for anyone to distribute or modify, according to a company blog post on Thursday.

“Our hope is that people...