Can I directly convert my HTML file to a DBpedia annotated file using the Java API? I found a related question:
but this is sends the text to web service; instead I need to convert locally. How can I do this?
You can use the parameter text to send an html content such as :
<html><body> Hackers from the Syrian Electronic Army claimed responsibility for re-directing links sent by President Barack Obama to a pro-Assad video</body></html>