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 getGender($wikitext, $count) { $genderArray = $this->extractGender($wikitext, $count); $stripTagsObject = new StripTags(); return $stripTagsObject->stripTags($genderArray, $this->langCode); }