Get Updates By E-mail 

Article Written By:
Johann Dowa

iOS Library Providing Linguistics Tools (Tokenizer, Tagger Lemmatizer, Naive Bayes Classifier)


Late last year I mentioned a library enhancing Swift strings with language and social features.

Here’s an open source objective-c library providing a number of tools for working with linguistics called Parsimmon from Ayaka Nonaka.

Parsimmons provides a tokenizer, a tagger, a lemmatizer, and a naive bayes classifier.

This code snippet from the readme shows how to use the Parsimmon tagger:

ParsimmonTagger *tagger = [[ParsimmonTagger alloc] init];
NSArray *taggedTokens = [tagger tagWordsInText:@"The quick brown fox jumps over the lazy dog"];
NSLog(@"%@", taggedTokens);

Producing the result:

"('The', Determiner)",
"('quick', Adjective)",
"('brown', Adjective)",
"('fox', Noun)",
"('jumps', Noun)",
"('over', Preposition)",
"('the', Determiner)",
"('lazy', Adjective)",
"('dog', Noun)"

You can find Parsimmon on Github here.

A nice easy to use lignuistics toolkit.


Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.