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?
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": https://freeling-user-manual.readthedocs.io/en/v4.2/analyzer/
User manual on options you can use (you need to look for "output level" and "output format"): https://freeling-user-manual.readthedocs.io/en/v4.2/analyzer/#valid-options
I use this code line in ruby…
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…
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": https://freeling-user-manual.readthedocs.io/en/v4.2/analyzer/
User manual on options you can use (you need to look for "output level" and "output format"): https://freeling-user-manual.readthedocs.io/en/v4.2/analyzer/#valid-options