title: Word Stemming in iOS - Not working for single word
body: <p>I am using <code>NSLinguisticTagger</code> for word stemming. I am able to get a stem words of words in a sentence, but not able to get a stem word for a single word.</p>
  
  <p>Following is the code I am using,</p>
  
  <pre><code>    NSString *stmnt = @"i waited";
      NSLinguisticTaggerOptions options = NSLinguisticTaggerOmitWhitespace | NSLinguisticTaggerOmitPunctuation | NSLinguisticTaggerJoinNames;
  
      NSLinguisticTagger *tagger = [[NSLinguisticTagger alloc] initWithTagSchemes:@[NSLinguisticTagSchemeLemma] options:options];
      tagger.string = stmnt;
      [tagger enumerateTagsInRange:NSMakeRange(0, [stmnt length]) scheme:NSLinguisticTagSchemeLemma options:options usingBlock:^(NSString *tag, NSRange tokenRange, NSRange sentenceRange, BOOL *stop) {
          NSString *token = [stmnt substringWithRange:tokenRange];
          NSLog(@"%@: %@", token, tag);
      }];
  </code></pre>
  
  <p>For this I am getting out correctly as:</p>
  
  <pre><code>i: i
  waited: wait
  </code></pre>
  
  <p>But the above code fails to identify stem word if <code>stmnt = @"waited";</code></p>
  
  <p>Any help is greatly appreciated</p>