Make the query parsing API public.

#121
End sentences with periods.