INNER CODE UNIT · Python

span_require_spell_check

R1j1t/contextualSpellCheck · contextualSpellCheck/contextualSpellCheck.py:520

    def span_require_spell_check(self, span):
        """
        Getter for Span Object

        Args:
            span {`Spacy.Span`} :Span object for which value should be returned

        Returns:
            Boolean :True if the span requires spellCheck
        """
        return any([self.token_require_spell_check(token) for token in span])

    @staticmethod
    def doc_suggestions_spell_check(doc):
        """
        Getter for Doc attribute

        Args:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…