[Q]: [In1929hemadehisfirstvisittotheUnitedStates,lecturingattheUniversitiesofWisconsinandMichigan.]
[A]: [In 1929 he made his first visit to the United States, lecturing at the Universities of Wisconsin and Michigan.]
Problem: Add spaces: TheEnergyInstitutestilllacksagreatdealofdata,e.g.theperiod1998-2007,whichisbeingmanuallyfiled,sinceitisfromaperiodwhereonlyafractionofdocumentsweredigitized.

Spaces added: The Energy Institute still lacks a great deal of data, e.g. the period 1998-2007, which is being manually filed, since it is from a period where only a fraction of documents were digitized.
This text is missing some spaces, please add them: ButifonebelievesthatAristotlewasaman,thendoubtlesshewasliabletoerrorjustasweare.
But if one believes that Aristotle was a man, then doubtless he was liable to error just as we are.
input question: Fix spacing: Initially,Davidthoughtthathehadwon100,butwasinformedofhismassivejackpotprizewhenhecalledtheNationalLotteryofficesonMonday.

output answer: Initially, David thought that he had won 100, but was informed of his massive jackpot prize when he called the National Lottery offices on Monday.
Problem: 1kmtothenearestbusstop
What's a sentence that uses these characters?
-
1 km to the nearest bus stop
Thisdoessoundstrange,Ithinkyoushouldphonethepolice,itsoundsmorelikeapervertorreallifethanparanormal,youhavemeworried!
This does sound strange, I think you should phone the police, it sounds more like a pervert or real life than paranormal, you have me worried!