# Context-Based Model for Browsing the Web Through Voice
## 5 Model Functionalities for Voice-Based Web Browsing
### Query Formulation and Search  
Once the user's context is generated, the user can perform search requests. Figure 5 shows the process that results in generating a search query. This process includes the stages in which the user makes the search request by voice, the transformation from voice to text by the Multi-modal User Interface, and the detection of the request intent by the Natural Language Translator. Once the search intent is detected, the Query Generator constructs a search query \begin{table}
\begin{tabular}{c c c c} \hline \hline
**URL** & **Date of Last Visit** & **Number of Visits** \\ \hline [[https://www.youtube.com/](https://www.youtube.com/)]([https://www.youtube.com/](https://www.youtube.com/)) & 10 August 2024 & 12 \\ [[https://www.cs.cinvestav.mx/](https://www.cs.cinvestav.mx/)]([https://www.cs.cinvestav.mx/](https://www.cs.cinvestav.mx/)) & 12 August 2024 & 5 \\ [[https://www.espn.com.mx/](https://www.espn.com.mx/)]([https://www.espn.com.mx/](https://www.espn.com.mx/)) & 15 August 2024 & 9 \\ [[https://www.mercadolibre.com.mx/](https://www.mercadolibre.com.mx/)]([https://www.mercadolibre.com.mx/](https://www.mercadolibre.com.mx/)) & 14 August 2024 & 7 \\ \hline \hline \end{tabular}
\end{table} 
Table 6: Navigation history. \begin{table}
\begin{tabular}{c c c c} \hline \hline \multirow{2}{*}{**Category**} & \multicolumn{3}{c}{**Keywords**} \\ \cline{2-4}  & \(\mathbf{k_{1}}\) & \(\mathbf{k_{2}}\) &... & \(\mathbf{k_{n}}\) \\ \hline address & CDMX & Colonia Centro &... & [PERSON] \\ \hline � & � & � & � \\ \hline website preferences & youtube.com & cinvestav.mx &... & mercadolibre.com.mx \\ \hline \hline \end{tabular}
\end{table} 
Table 5: _Cont._to locate web content. This aids users who are less experienced with web browsing or struggle to form queries. A query is composed of keywords, search operators, and filters:  
* Keywords. They are derived from both the user's request and context. On the one hand, when the Natural Language Translator identifies that the user's intention is to perform a search, it transfers to the Query Generator the relevant words extracted from the request. These words include named entities, terms that form syntactic relationships, nouns, and those defined as key parameters for the search, such as content type (e.g., image, video, or web page) and quantities. Then, the Query Generator creates a set of \"search keywords\", omitting any repetition. On the other hand, the Query Generator examines the first column of the User Context table looking for terms that match the words extracted from the user's request. If it finds matches, it adds the keywords associated with the row of the corresponding element(s) to the set of \"search keywords\";
* Search operators. Three search operators are employed:
* Double quotation marks (\"'): they are used to search for named entities and nouns in order to obtain results containing exactly those words, e.g., \"[PERSON]\";
* AND operator: it is used to add to the query the keywords derived from the user's request, e.g., movie AND current;
* OR operator: it is used to add to the query the keywords derived from the user context, e.g., drama OR terror. * Filters. Two parameters are defined to refine the results:
* searchType:[type]: it is used to specify the desired content type. Some values for the [type] parameter include image to search for images, video to look for videos, and news to search for news;
* site:[site]: it is used to limit the search results to a specific website. The parameter [site] must be replaced by the domain of the desired site, e.g., site: youtube.com. The query is built in two parts. First, the keywords extracted from the user's request are connected by the AND operator, which ensures that they are all present in the results. Then, these keywords are combined with the context keywords, which are grouped into a set linked by the OR operator. This set, in turn, is connected to the main query by AND.