Skip to content

Conversation

@Ayushk4
Copy link
Member

@Ayushk4 Ayushk4 commented Aug 9, 2019

Porting the NER API from https://github.com/Ayushk4/NER.jl/tree/master/src

  • NER API
  • Docs
  • Tests

"""
The weights for NER Sequence Labelling Model.
""",
"https://raw.githubusercontent.com/Ayushk4/Random_set_of_codes/weights/weights.tar.xz",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does .xz files work on windows?

Copy link
Member Author

@Ayushk4 Ayushk4 Aug 11, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't get what you mean by work on windows?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you mean how to extract/unzip the file, I think WinRar should let you extract it.
Or if you are referring to the file being unpacked, then DataDeps package function unpack handles it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I meant will DataDeps be able to unzip the file without the user having to install additional things?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should work - DataDeps.jl has a test for checking the unpack for tarballs. In this line - https://github.com/oxinabox/DataDeps.jl/blob/12bf837dc4ba09edca19fe617d1408ec7dae1796/test/examples.jl#L137

Copy link
Member Author

@Ayushk4 Ayushk4 Aug 12, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added Windows to the os in travis CI and sent a PR to my own fork of DataDeps.jl. The tests were ran on linux, mac osz and windows and passed on all the os - Ayushk4/DataDeps.jl#1

@aviks
Copy link
Member

aviks commented Aug 10, 2019

@Ayushk4
Copy link
Member Author

Ayushk4 commented Aug 15, 2019

@aviks can you review this Patch? I am proceeding with POS API, most of the functions for NER API will be reused on that.

@Ayushk4
Copy link
Member Author

Ayushk4 commented Aug 18, 2019

@aviks I have written the POS API here. Can you review this patch, since the POS API uses the same model and functions for sequence labelling? Also, that seems to be working much better than the perceptronTagger

@aviks aviks merged commit 04d1b60 into JuliaText:master Aug 18, 2019
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

Successfully merging this pull request may close these issues.

2 participants