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

Fix a python sample code #40

Merged
merged 2 commits into from
Jan 24, 2016
Merged

Conversation

abicky
Copy link
Contributor

@abicky abicky commented Apr 11, 2015

This pull request will fix the error like below:

$ python sample_train.py sample.model < input 
0.12.2
Traceback (most recent call last):
  File "sample_train.py", line 54, in <module>
    trainer.append(xseq, yseq, 0)
  File "/path/to/crfsuite/swig/python/crfsuite.py", line 130, in append
    def append(self, *args): return _crfsuite.Trainer_append(self, *args)
TypeError: in method 'Trainer_append', argument 3 of type 'CRFSuite::StringList const &'

chokkan pushed a commit that referenced this pull request Jan 24, 2016
@chokkan chokkan merged commit a349159 into chokkan:master Jan 24, 2016
@abicky abicky deleted the hotfix/fix-python-sample branch October 3, 2016 04:24
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