The United States has praised the Nigerian government for speeding up the trial of terrorism suspects and securing convictions.