Before she stopped talking at all, she also had a period that she spook gibberish. I learned to just pretend to understand her, assuming that she meant something positive with her attempt to say something. I learned to read her face instead of her words.
In the last year her eyes would usually be dull and only now and then there would be a spark of light in her eyes that would not last longer than a second. I never wondered whether she still recognized me. I assumed that the concept of husband did not mean anything to her anymore. I am happy that I still recognized her till the end, because I know that some people with Alzheimer's Disease will change so much in their behavior that relatives do no longer recognize them.
We will never know what your wife wanted to say. Maybe the words that came out of her mouth were not even the words she wanted to say. Maybe you should take the fact that she attempted to talk to you as a sign that she was happy that you were with her at that moment.