Installation and usage clear

Submitted by aryaajit on Thu, 05/26/2016 - 10:10
Forums

Analyzer is easy to configure but not understandable every easily for example the value it is giving

Hello
i couldn't compile the freeling project as dll, so i started to use and test the analyzer program
i'm trying to pass accented characters from java to the analyzer proccess, as i used to do with Freeling 2.0 analyzer, but with FreeLing 4 it's not possible, beacause character encoding is not understanded by analyzer, and i can't find a simple way to do this.
i tried to test the program with the console in windows, but the same occurs
i also tried using the client server mode, and it's worse, the server crashes if the text in the input file has accents.
i hope you can help me
thanks

Uups, I mistakenly deleted your reply with the example... Feel free to post it again.

The answer to your problems is that freeling expects and produces UTF8.
No other encoding is valid.
Windows console (and maybe your text files) uses another encoding, so make sure to encode the input as UTF8, and interpret the output as UTF8

BTW, this question is off-topic here. Next time, please find a suitable topic to post your question, or open a new one if there is no adequate topic.

when we are using server mode it take too much time and never stop the task
also when i am using in MSVC 10 i am getting problem in executing sample.py file for python

FL 4.0 stable is available.
You don't need to use beta anymore.
Also, FL 4.0 source includes MSVC projects to compile in windows, but you need MSVC 13 or newer.

Sample.py is python. You need to build the python API to use it.

Server mode in windows does not work properly, because server uses linux fork(), not available on windows. Thus, the server stops after first client.

Just a reminder:
- FreeLing is a linux-based project. Windows support is partial.
If you want to contribute with fixes, msvc project files, or
any other kind of code, you'll be very welcome

- FreeLing is a library: "analyzer" is just a demo program, and "server mode" is
also just an example to show that FreeLing can run as a server.
They are not intended for production use.

OPTION (A). Install FreeLing on Windows from a binary package.

Use this option if you only want to use FreeLing as an out-of-the-box analyzer
or as an external library.

What do this mean out-of-the-box analyzer

"out-of-the-box" means that it is a package that is already bundled and ready to run without compilation or complex installation steps, but that you can not modify the code (since it is already compiled).
However, since FreeLing separates code and data, you can modifiy the data files to adapt the behaviour to your needs. Look for packages `freeling-4.0-win32.zip` or `freeling-4.0-win64.zip` in the download section.