Skip to main content

System for the IberLEF 2019 NER Task

Project description

Edit a file, create a new file, and clone from Bitbucket in under 2 minutes

When you're done, you can delete the content in this README and update the file with details for others getting started with your repository.

We recommend that you open this README in another tab as you perform the tasks below. You can watch our video for a full demo of all the steps in this tutorial. Open the video in a new tab to avoid leaving Bitbucket.


Edit a file

You’ll start by editing this README file to learn how to edit a file in Bitbucket.

  1. Click Source on the left side.
  2. Click the README.md link from the list of files.
  3. Click the Edit button.
  4. Delete the following text: Delete this line to make a change to the README from Bitbucket.
  5. After making your change, click Commit and then Commit again in the dialog. The commit page will open and you’ll see the change you just made.
  6. Go back to the Source page.

Create a file

Next, you’ll add a new file to this repository.

  1. Click the New file button at the top of the Source page.
  2. Give the file a filename of contributors.txt.
  3. Enter your name in the empty file space.
  4. Click Commit and then Commit again in the dialog.
  5. Go back to the Source page.

Before you move on, go ahead and explore the repository. You've already seen the Source page, but check out the Commits, Branches, and Settings pages.


Clone a repository

Use these steps to clone from SourceTree, our client for using the repository command-line free. Cloning allows you to work on your files locally. If you don't yet have SourceTree, download and install first. If you prefer to clone from the command line, see Clone a repository.

  1. You’ll see the clone button under the Source heading. Click that button.
  2. Now click Check out in SourceTree. You may need to create a SourceTree account or log in.
  3. When you see the Clone New dialog in SourceTree, update the destination path and name if you’d like to and then click Clone.
  4. Open the directory you just created to see your repository’s files.

Now that you're more familiar with your Bitbucket repository, go ahead and add a new file locally. You can push your change back to Bitbucket with SourceTree, or you can add, commit, and push from the command line.

  1. Download and install the latest Anaconda distribution from here

  2. Start the Anaconda Powershell Prompt if running Windows, or a terminal otherwise

  3. Create a conda environment running conda create -n pvcastro-iberlef python=3.6

  4. Update Anaconda running conda update -n base -c defaults conda

  5. Install pytorch running conda install pytorch-cpu -c pytorch -n pvcastro-iberlef

  6. Activate the created conda-environment using conda activate pvcastro-iberlef

  7. Install the AllenNLP framework running pip install -U allennlp

  8. Install the AllenNLP framework running python -m spacy download en_core_web_sm

  9. Install the pvcastro-iberlef module running pip install -U pvcastro-iberlef

  10. Run the prediction for NER running python -m pvcastro_iberlef.predict_ner --document-path path_to_the_input_document --out-path path_to_the_output_file

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pvcastro-iberlef, version 0.3.6
Filename, size File type Python version Upload date Hashes
Filename, size pvcastro_iberlef-0.3.6-py3-none-any.whl (7.8 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page