7_R3X
7_R3X

Reputation: 4370

Tool for Desining text based AI

I was wondering if there's any open-source tool that I can use to design an AI which would read sentences from a file, understand their structure( by breaking them into their basic components) and then report back its components in detail.

I will provide it some sets of words belonging to different components of sentences(like set of prepositions, set of verbs, set of adjectives, etc) so as to help it determine different components.

I have an elaborate plan for it but my question is whether there's a tool available or do I have to program it from the scratch?

Upvotes: -1

Views: 249

Answers (1)

evan.oman
evan.oman

Reputation: 5572

You are looking for a Parts of Speech Tagger, of which there are many. They are actually not all that hard to write (I made a simple one during grad school) but robust taggers do take a fair amount of work.

Here is one that is a part of the popular NLTK Package for Python.

Just as an aside, there is a lot more to Natural Language understanding that POS, but POS tags could be part of the feature vector that you feed into a larger ML/AI algorithm.

Upvotes: 1

Related Questions