[12:8] 2 tn Heb “to the mouth of.” This idiom means “according to” (BDB 805 s.v. פֶּה 6.b.(b); cf. KJV, NAB, NIV). The point is that praise is proportionate to wisdom.
[12:8] 3 tn Heb “crooked of heart”; cf. NAB, NLT “a warped mind” (NIV similar). The noun לֵב (lev, “heart”) is an attributive genitive. It functions as a metonymy of association for “mind; thoughts” (BDB 524 s.v. 3) and “will; volition” (BDB 524 s.v. 4). He does not perceive things as they are, so he makes all the wrong choices. His thinking is all wrong.