Making a Hyphenation app

Hi guys. I’m trying to program an app which should perform a hyphenation. The point is that making an algorithm seems very hard, I don’t even know if it’s possible with makeroid. The alternative is to put a webview with one of the many Hyphenation websites.
My questions are the followings:

  • Where can I find a piece of an information regarding this algorithm? (Notice: It should be for italian and english)
  • (Alternative case)Should I ask for permission in order to put a website in my app? (I’d like to publish it). If yes, is there a way to interface a website with an app so that it only uses the algorithm of the website masked with a normal-app interface?
    Thank you in advice.

If they offer an API it could work, provided the end user has an internet connection.