Same words with different syllabification
If you're going to use a dictionary for syllabification purposes, use a pronunciation dictionary. The recognised best-in-the-field, as it were, is the Longman Pronunciation Dictionary by Professor John Wells, Emeritus Professor of Phonetics at UCL.
You can read about what type of data he uses to determine syllable boundaries in this very interesting piece by him here:
- Syllabification and allophony
As mentioned by other posters in the comments here, it's not a good idea to use the syllable divisions given in a normal dictionary for the kind of work that the Original Poster has in mind.