code: public function getActionWords($string, $language = 'english')
      {
          $words = $this->getWords($string);
          $filter = new ActionWordsFilter($language);
          $actionWords = [];
  
          foreach ($words as $word) {
              $word = $this->removePunctuation($word);
              if (!is_null($filter->filter($word))) {
                  $actionWords[] = $word;
              }
          }
  
          return $actionWords;
      }
docs: Get Action words.
  
  @param string $string
  @param string $language
  
  @return array