You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please describe the module you would like to add to bricks
Depending what kind of query/question type you have, you might need different search approaches; so detecting the type of query can be helpful to e.g. prioritize in retrieval. Some examples:
Interrogative-query:
"How do you make a sourdough starter?"
"When was the Declaration of Independence signed?"
"Who wrote the novel 'Pride and Prejudice'?"
"Where can I find the best sushi in Tokyo?"
"Why do leaves change color in the fall?"
Statement-query:
"Tell me about the history of the Eiffel Tower."
"Show me the weather forecast for New York next week."
"I want to know more about quantum physics."
"Give me options for vegetarian dinner recipes."
"I'm looking for books written by Jane Austen."
Do you already have an implementation?
The keyword classifier can be implemented by removing stopwords and seeing if the length of the sentence changed (significantly). Interrogative is rather "Why", "When", "How", "Where" and "Who".
Additional context
This is the statement-question classifier. Use these hints:
Part-of-Speech Tagging:
Utilize part-of-speech tagging to identify the grammatical structure of a sentence. Declarative sentences often start with nouns or verbs and may include more nouns or adjectives. Tools like spaCy or NLTK can help with part-of-speech tagging.
Dependency Parsing:
Apply dependency parsing to analyze the grammatical relationships between words in a sentence. Declarative sentences tend to have clear subject-verb-object structures, which can be identified through dependency parsing.
The text was updated successfully, but these errors were encountered:
Please describe the module you would like to add to bricks
Depending what kind of query/question type you have, you might need different search approaches; so detecting the type of query can be helpful to e.g. prioritize in retrieval. Some examples:
Keyword-query:
"Italian restaurants"
"Winter boots sale"
"SpaceX latest launch"
"Chocolate cake recipe"
"Jazz festivals 2023"
Interrogative-query:
"How do you make a sourdough starter?"
"When was the Declaration of Independence signed?"
"Who wrote the novel 'Pride and Prejudice'?"
"Where can I find the best sushi in Tokyo?"
"Why do leaves change color in the fall?"
Statement-query:
"Tell me about the history of the Eiffel Tower."
"Show me the weather forecast for New York next week."
"I want to know more about quantum physics."
"Give me options for vegetarian dinner recipes."
"I'm looking for books written by Jane Austen."
Do you already have an implementation?
The keyword classifier can be implemented by removing stopwords and seeing if the length of the sentence changed (significantly). Interrogative is rather "Why", "When", "How", "Where" and "Who".
Additional context
This is the statement-question classifier. Use these hints:
Part-of-Speech Tagging:
Utilize part-of-speech tagging to identify the grammatical structure of a sentence. Declarative sentences often start with nouns or verbs and may include more nouns or adjectives. Tools like spaCy or NLTK can help with part-of-speech tagging.
Dependency Parsing:
Apply dependency parsing to analyze the grammatical relationships between words in a sentence. Declarative sentences tend to have clear subject-verb-object structures, which can be identified through dependency parsing.
The text was updated successfully, but these errors were encountered: