Skip to content

Conversation

Khalife
Copy link

@Khalife Khalife commented Mar 16, 2017

Python3 version of neural NER .

from loader import prepare_sentence
from utils import create_input, iobes_iob, zero_digits
from model import Model
import pdb
Copy link
Owner

Choose a reason for hiding this comment

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

can you remove this?

import numpy as np
import theano

import pdb
Copy link
Owner

Choose a reason for hiding this comment

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

could you remove this? as well as the print(words) and print('\n') below?

word_to_id, id_to_word = create_mapping(dictionary)
return dictionary, word_to_id, id_to_word

if __name__ == "__main__":
Copy link
Owner

Choose a reason for hiding this comment

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

do you mind removing this too?

Copy link
Owner

@glample glample left a comment

Choose a reason for hiding this comment

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

Thanks for the pull request! Do you mind removing the few extra imports / prints you added so that I can merge? Also, could you please remove the extra spaces that sometimes appear inside the parenthesis of the print function?

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