 c(<span class="hljs-string">"NOUN"</span>, <span class="hljs-string">"ADJ"</span>), 
                           ngram_max = <span class="hljs-number">3</span>, n_min = <span class="hljs-number">5</span>)
<span class="hljs-comment">## Find simple noun phrases</span>
x$phrase_tag &lt;- as_phrasemachine(x$upos, type = <span class="hljs-string">"upos"</span>)
keyw_nounphrases &lt;- keywords_phrases(x$phrase_tag, term = x$token, 
                                     pattern = <span class="hljs-string">"(A|N)*N(