How I can use the tern-lint in codemirror to display the type of methode in my own language?

I am try to apply tern-lint in codemirror But I can not find an example to do it can any body help me ? what I want to do is : to hover on any word on codemirror and then show label to my to display to me the of type word

how I can do it and how i can trigger the tern-lint when i hover any word and write what I want on the label ?