Inflect ``text`` if the ``inflect`` class Meta option is defined, otherwise
        do nothing.
503150
def inflect(self, text):
        
        return self.opts.inflect(text) if self.opts.inflect else text
400116
def setPrefix(self, text=""):
		
		if len(text) > 0:
			self.message_prefix = "{}: ".format(text)
		else:
			self.message_prefix = ""
825794
def set_value(self, text):
        
        if self.single_line:
            text = text.replace('\n', '')
        self.set_text(text)
309284
function setExtraText(line, text) {
    if (termExtraText[line] != text) {
      termExtraText[line] = text;
      updateTerminal();
    }
  }
682495
def try_process_text(self, text):
        
        if not text:
            return text
        try:
            return self.process_text(text)
        except (socket.gaierror, socket.timeout, xml.parsers.expat.ExpatError):
            return text
690636
def _parse_text(val, **options):
    
    if val and options.get("ac_parse_value", False):
        return anyconfig.parser.parse_single(val)

    return val
797968
def check(self, text):
        
        for word, pos in self.tokenizer(text):
            correct = self.dictionary.check(word)
            if correct:
                continue
            yield word, self.dictionary.suggest(word) if self.suggest else []
        return
840242
def set_text(self, text):
        """"""
        self.text = text
        try:
            self.properties = text_to_dict(text)
        except:
            traceback.print_exc()
            self.properties = None
54394
def check(text):
    """"""
    err = "misc.suddenly"
    msg = u"Suddenly is nondescript, slows the action, and warns your reader."
    regex = "Suddenly,"

    return existence_check(text, [regex], err, msg, max_errors=3,
                           require_padding=False, offset=-1, ignore_case=False)
383732
def parse_value(self, text: str) -> Optional[bool]:
        
        if text == "true":
            return True
        if text == "false":
            return False
181610
def eval(self, text):
        
        assert is_text_string(text)
        try:
            return eval(text, self.locals), True
        except:
            return None, False
111488
def text_has_changed(self, text):
        """"""
        text = to_text_string(text)
        if text:
            self.lineno = int(text)
        else:
            self.lineno = None
593744
def check(text):
    """"""
    err = "pinker.metadiscourse"
    msg = "Excessive metadiscourse."

    metadiscourse = [
        "The preceeding discussion",
        "The rest of this article",
        "This chapter discusses",
        "The preceding paragraph demonstrated",
        "The previous section analyzed",
    ]

    return existence_check(text, metadiscourse, err, msg)
372406
def text(self, cls='current', retaintokenisation=False):
        

        #backward compatibility, old versions didn't have cls as first argument, so if a boolean is passed first we interpret it as the 2nd:
        if cls is True or cls is False:
            retaintokenisation = cls
            cls = 'current'

        s = ""
        for c in self.data:
            if s: s += "\n\n\n"
            try:
                s += c.text(cls, retaintokenisation)
            except NoSuchText:
                continue
        return s
228609
def setText(self, value):
        
        if isinstance(value, Text):
            self.text = value
        else:
            self.text = Text(value)
        return self
323116
function(node, text)
	{
		if (node.innerText !== undefined)
		{
			node.innerText = text;
		}
		else
		{
			node[(node.textContent === undefined) ? 'text' : 'textContent'] = text;
		}
	}
597063
def TryCompile( self, text, extension):
        
        return self.TryBuild(self.env.Object, text, extension)