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

How do I use glove on crfsuite with python? #116

Open
bjayakumar opened this issue Aug 11, 2020 · 2 comments
Open

How do I use glove on crfsuite with python? #116

bjayakumar opened this issue Aug 11, 2020 · 2 comments

Comments

@bjayakumar
Copy link

How to incorporate glove feature inside word2featueres function?

@franklevasseur
Copy link
Contributor

@bjayakumar, this is not the right place to ask this question. You better post your question here.

@jwijffels
Copy link

Hello @chokkan or maybe @kmike
I'm the author of the R wrapper at https://github.com/bnosac/crfsuite which uses the C++ API of crfsuite and I have the same question.
Does incorporating embeddings correspond in the C++ API to appending the following types: CRFSuite::Attribute("embeddingdimension1", 0.123).
I personally only did something like add categorical features like this CRFSuite::Attribute("categoryA", 1.) at https://github.com/bnosac/crfsuite/blob/master/src/rcpp_crfsuite.cpp#L87 because the docs were confusing about adding embedding
So is adding features like the following the correct way?

CRFSuite::Attribute("embeddingdimension1", 0.123)
CRFSuite::Attribute("embeddingdimension2", -0.31)

...

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