Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documenting depenencies between modules #107

Open
guludo opened this issue Sep 3, 2020 · 3 comments
Open

Documenting depenencies between modules #107

guludo opened this issue Sep 3, 2020 · 3 comments

Comments

@guludo
Copy link

guludo commented Sep 3, 2020

Hi there!

Thanks for this library! It is awesome.

I'm reading the documentation I'm having difficulties to know which morphological analyzer is required to use the senses module. I think it would be nice if the documentation pointed to the dependencies for a give module.

In my use case I just want to use the senses module, so I would like to enable only the required modules in the morphological analyzer.

Regards,
Gustavo Sousa

@arademaker
Copy link
Contributor

Hi Gustavo, I guess it will depend on your input format. How is your data? Is it a raw text? If so, you need to tokenize, split into sentences, and make basic morphosyntactic analysis: lemmatization, POS tagging. Keep in mind that multi-word expressions also need to be identified (Freeling can handle only adjacents MWE) and merged into a single token. Does it make sense?

@guludo
Copy link
Author

guludo commented Sep 4, 2020

How is your data? Is it a raw text?

Yes.

Does it make sense?

Yes! Thanks. :-)

Is there a page in the documentation listing dependencies between analyzers/modules?

@lluisp
Copy link
Contributor

lluisp commented Sep 4, 2020

No, there is no such documentation

However, senses module requires only basic morphological analysis (i.e. "dictionary" module)

if you run freeling with default configuration, you'd get reasonable results for your goals.
If you want senses for all PoS in a word, you need "--outlv morfo --sense all"
If you want all senses on PoS tagged output, you need "--outlv tagged --sense all"

Any modules in the morphological analyzer can be deactivated at will, with --nonumb, --nodates, --noloc, etc (see user manual), depending on your needs.

As arademaker said, if you deactivate multiwords (--noloc) you may miss the sense for some multiwords existing in wordnet (e.g. "in_particular"), and get the sense only for each elements ("in", and "particular")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants