original_string: public function toSingular(Pluralizer $pluralizer = null) {
  		$pluralizer = $pluralizer ?: new EnglishPluralizer();
  
  		return new Text($pluralizer->getSingularForm($this->string), $this->encoding);
  	}
code: public function toSingular(Pluralizer $pluralizer = null) {
  		$pluralizer = $pluralizer ?: new EnglishPluralizer();
  
  		return new Text($pluralizer->getSingularForm($this->string), $this->encoding);
  	}
code_tokens: public function toSingular ( Pluralizer $ pluralizer = null ) { $ pluralizer = $ pluralizer ? : new EnglishPluralizer ( ) ; return new Text ( $ pluralizer -> getSingularForm ( $ this -> string ) , $ this -> encoding ) ; }
docstring: Get the singular form of the Text object.
  
  @return Text
docstring_tokens: Get the singular form of the Text object .