I want to count a number of nouns in a sentence. For that, I'm using TextStructere but I don't know how to get tags of each word.


1 Answer 1

Length @ TextCases[
  "The quick brown fox jumps over the lazy dog."
, "Noun"


  • $\begingroup$ thanks a lot for your help $\endgroup$ Apr 29, 2018 at 19:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.