public function getPos($wikitext, $count) { $posArray = $this->extractPos($wikitext, $count); $stripTagsObject = new StripTags(); $posArray = $stripTagsObject->stripTags($posArray, $this->langCode); return array_unique($posArray); }
public function get_gender($wikitext, $count) { $genderArray = $this->extract_gender($wikitext, $count); include "./classes/class.strip.tags.php"; $stripTagsObject = new StripTags(); return $stripTagsObject->strip_tags($genderArray, $this->langCode); }
public function get_pos($wikitext, $count) { $posArray = $this->extract_pos($wikitext, $count); include "./classes/class.strip.tags.php"; $stripTagsObject = new StripTags(); $posArray = $stripTagsObject->strip_tags($posArray, $this->langCode); return array_unique($posArray); }
public function getGender($wikitext, $count) { $genderArray = $this->extractGender($wikitext, $count); $stripTagsObject = new StripTags(); return $stripTagsObject->stripTags($genderArray, $this->langCode); }