Comments (4)
Mmm I'm not sure. Can you give me an example of sentences before and after they were tagged? Are you sure the input format is the correct one? Note that the input format for train.py and for tagger.py is not the same (one word by line vs one sentence by line).
from tagger.
@glample thanks for your reply.
Here is an example, in input.txt file, a tokenized sentence and pasted in one line (sentence taken from Reuters as example):
A Senate panel is expected to advance President Donald Trump Supreme Court nominee, Neil Gorsuch , to a full Senate vote later in the week , setting up a political showdown as Democrats seek to block his confirmation.
When I run tagger.py with english model, I am getting only PER tags for Donald Trump and Neil Gorsush which is good, but no tags for VB, NN ... Nothing. Is this expected?
from tagger.
Did you attach a file or something? I can't see it. Otherwise yet, it's expected that VB and NN don't have anything. Only named entities are expected to have a tag different from O (O stands for "out", which means it's not a named entity).
from tagger.
I thought that the script processes, at the same time VB, N...N tags. When I reviewed your script, I knew that that this issue is bad. Sorry.
But also, I want to ask you, when I train with my own data using 25 tags, I am getting only 2 tags as results. Anyway, Thanks.
Closed.
from tagger.
Related Issues (20)
- utils.py issue line 303 list index out of range HOT 8
- Why my program goes into infinite loop? HOT 2
- Cuda and Theano Version HOT 4
- Can you
- Can my Chinese data be used in this program?(character-level) HOT 3
- Which tokenizer did you use? HOT 11
- Script for training embeddings HOT 9
- IOError "No such file or directory: './evaluation/temp/eval.1181043.scores " HOT 3
- SGD x Adam HOT 2
- Are you planning to release models in German, Spanish and Dutch as well? HOT 1
- Confidence score for the predicted entity HOT 4
- Data size and decoding time
- Pretrained word embedding HOT 5
- Confusion about lable conversion. HOT 2
- Inconsistent conversion for IOBES to IOB HOT 1
- Token level or Entity level? HOT 2
- Equations of LSTM
- transition scores HOT 1
- How to set the parameters of a small dataset? HOT 1
- . HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tagger.