semantic graph

Submitted by alondra831002 on Wed, 09/09/2020 - 07:21

How can I obtain a semantic graph using Freeling with ruby?


Wed, 09/09/2020 - 07:25

I use this code line in ruby and I obtain a plain text with the POS information of my input text but I want to obtain a semantic graph in an XML format does somebody know how to do it?

system("C:/freeling_win22/freeling/bin/analyzer.exe -f C:/freeling_win22/freeling/data/config/es.cfg <"+file+">"+ file2)

You need to call "analyzer.exe" with the appropriate options. (though it would be better to call "analyze.bat" which takes care of solving paths )

User manual on "analyzer.exe" and "analyze.bat":

User manual on options you can use (you need to look for "output level" and "output format"):