@@ -218,13 +218,13 @@ class BERTUnfactoredDisambiguator(Disambiguator):
218218 used in the model. Defaults to 14 features.
219219 top (:obj:`int`, optional): The maximum number of top analyses to
220220 return. Defaults to 1.
221- scorer (:obj:`str`, optional): The scoring function that matches the
222- predicted features from the model and the values in the analyses.
223- If uniform, the scoring based on the uniform weight is used.
224- Defaults to `uniform`.
221+ scorer (:obj:`str`, optional): The scoring function that computes
222+ matches between the predicted features from the model and the
223+ output from the analyzer. If ` uniform` , the scoring based on the
224+ uniform weight is used. Defaults to `uniform`.
225225 tie_breaker (:obj:`str`, optional): The tie breaker used in the feature
226- match function. If `tag`, tie breaking based on the tag MLE and
227- factored tag MLE is used. Defaults to `tag`.
226+ match function. If `tag`, tie breaking based on the unfactored tag
227+ MLE and factored tag MLE is used. Defaults to `tag`.
228228 use_gpu (:obj:`bool`, optional): The flag to use a GPU or not.
229229 Defaults to True.
230230 batch_size (:obj:`int`, optional): The batch size. Defaults to 32.
@@ -528,7 +528,7 @@ def tag_sentences(self, sentences, use_analyzer=True):
528528 return self ._predict_sentences (sentences )
529529
530530 def tag_sentence (self , sentence , use_analyzer = True ):
531- """Predict the morphosyntactic labels of a ssingle entence .
531+ """Predict the morphosyntactic labels of a single sentence .
532532
533533 Args:
534534 sentence (:obj:`list` of :obj:`str`): The list of space and
0 commit comments