Saw it ages ago, so I can't remember much about it. It's about a genius whose brain uses much more of its capacity than everyone else's. There's also a part in the film where he has to memorize Portuguese, so he reads a Portuguese dictionary to help a kid out. I can remember the ending but I don't want to spoil it for others.
Oh, and it's not Rain Man.