How to know if a sentence starts with a verb or not?

I'm looking for a way to check if a word is a verb. I don't know what would be a good solution to go with.

Custom AI model? Free/Paid existing api? Matching from a verbs.json? Something else?

I also think that it depends a lot on the context. For example the word "Book" could mean a book or the act of booking something like a hotel.

My goal ultimately is to know from a given sentence if it starts with a verb or not.

Book a plane ticket => Should returns me a true because it starts with a verb. Thomas is reading a book => Should returns me a false because it doesn't start with a verb.

Any thoughts?

Thanks in advance!

That's a tough one. I suggest you start looking at natural writing recognition AI services.

0 Likes
Souhail Merroun Author

Thanks for the reply. I kinda feel like my best solution would come from there.

I'm trying to avoid it tho because,

1/ I don't have that much AI experience yet 2/ I'm trying to build the MVP for #cleartaskapp without going so deep and having a perfect technical solution

I would love to know how'd you approach this to balance a good tech solution with spending a resonable time for it.

0 Likes
Fajar Siddiq

use https://www.grammarly.com/signup

0 Likes
Souhail Merroun Author

Thanks for the link! I'll check that.

0 Likes

Please sign in to leave a comment.