Model to detect a user asking a question vs making a statement.

Hello, my apologies if this is a very basic newbie question but I was wondering if you could point me in the right direction for trying to create a model that can recognize the difference between when the text is a question or statement? I added some patterns for words like 'what', 'when', 'how' etc but not sure if theres a better way to train a model using prodigy that will continue to learn over time?

Cheers!

Text classification will put you on the right track!

2 Likes

I agree with @jsnleong – this sounds like a good fit for text classification :+1: You can use the patterns you already have to pre-select examples and maybe start off by training a binary classifier to predict QUESTION (whether the sentence is a question).

1 Like

Awesome, thank you both @jsnleong and @ines for the response!

1 Like