mirror of https://github.com/explosion/spaCy.git
Add docstring for Trainer class.
This commit is contained in:
parent
847a4a4182
commit
ba5e048502
|
@ -7,6 +7,7 @@ from .scorer import Scorer
|
|||
|
||||
|
||||
class Trainer(object):
|
||||
'''Manage training of an NLP pipeline.'''
|
||||
def __init__(self, nlp, gold_tuples):
|
||||
self.nlp = nlp
|
||||
self.gold_tuples = gold_tuples
|
||||
|
|
Loading…
Reference in New Issue