Be careful with charge current, using anything below 0.3C will probably miss termination on AA/AAA cells. I mostly use around 0.5C.
To keep the cells safe if the terminations is missed use a capacity limit between 130% and 150% of the cells capacity and a timer cutoff calculated as ''capacity/current×1.4'', i.e. for a 2000mA cell at 1A it is 2000/1000*1.4 = 2.8 hours = 2 hours 48 minutes.
For NiMH the -dv/dt setting must be as low as possible, I used 3mV for my test, but a lower value might be even better. Too low value will not damage the cell, but might give early termination.
LSD cells do not need any trickle charge, for other cells a 10mA trickle charge can be used, but it not really needed either (some manufactures recommend a time limited trickle charge after a -dv/dt charge).