parsing - How to Parse Boolean Search Queries -


i need parse search query boolean parameters. example, if have query

(mexico or peru) , ((air , wind) or (big , little))

i want create several sub-queries based on operators. so, query give me following sub queries

mexico , air, wind
mexico , big , little
peru, air , wind
peru, big , little

does have idea algorithm use or maybe library me that?

thank you!


Comments

Popular posts from this blog

jQuery clickable div with working mailto link inside -

java - Getting corefrences with Standard corenlp package -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -