Statistics for occurrence #1 of “William Barry” in chapter 11 of Brig.-Gen. Bradley T. Johnson, Confederate Military History, a library of Confederate States Military History: Volume 2.1, Maryland:

...Company C (Second)—Captain, Edmund Barry. First-Lieutenant, John Marshall. Second-Lieutenant, Wm. H. Edelin, Tom Washington Smith. First-Sergeant, Albert Tolson. Sergeants, Richard Brown, William Barry . (This company was enlisted in Richmond and united with the regiment. No muster roll of this company has been found in the war records.) Battles and actions in which the First Maryland infant...
Max. Freq. Min. Freq.
Entity Corpus Doc Corpus Doc  
William Barry 8 2 0 0 0 user votes
William Barrymore 4 0 2 0 0 user votes

† This entity has been selected by the automated classifier as the most likely match in this context. It may or may not be the correct match.