Identifying search terms in a document

The method and system enable intuitive and efficient identification of multiple search terms in a document by highlighting them in different colors based on proximity, addressing the limitations of single-term search functions.

GB2635496APending Publication Date: 2025-05-21ALLEN THOMAS EDWARD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
GB2023016208
Authority / Receiving Office
GB · GB
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-10-23
Publication Date
2025-05-21

AI Technical Summary

Technical Problem

Existing search functions on computers are limited to searching for a single term and lack intuitiveness, hindering effective identification of multiple relevant terms in a document.

Method used

A computer-implemented method and system that allows users to input and highlight multiple search terms in different colors when they are within a predetermined proximity in a document, with adjustable proximity settings and navigation tools.

Benefits of technology

Enhances the ability to intuitively identify and navigate multiple search terms in a document, improving search functionality and efficiency by highlighting terms based on proximity and allowing adjustable settings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

A method for identifying multiple search terms in a document. The method comprises displaying an output on a user interface 1 which identifies the first search term 10 and the second search term 20 ea
Need to check novelty before this filing date? Find Prior Art

Description

Field of the invention This application relates to a method and a computer system for identifying search terms in a document. Background of the invention It is known to provide a search function on a computer which allows a user to search a document for a search term. The search term is highlighted in the document to identify it to a user. However, the search function is limited to searching the document for a single term, as well as having other drawbacks. It is an object of the present invention to improve the functionality of the search and / or to make the search more intuitive to a user. Summary of the invention The present invention provides a computer-implemented method for identifying search terms in a document, comprising displaying an output on a user interface which identifies the first search term and the second search term in the document each time that the first term is within a predetermined proximity of the second search term in the document. The present invention further provides a computer-implemented method for identifying different search terms in a document, wherein the different search terms comprise a first search term and a second search term, comprising displaying an output on a user interface which identifies the first search term and the second search term in the document by highlighting each of the first search terms in a first colour and each of the second search terms in a second colour. The present invention further provides a computer-implemented method for displaying a first search box and a second search box on a user interface, comprising receiving a first input from a user which causes the first search box to be displayed on the user interface, wherein the first search box is for receiving a first search term to be searched in a document, and receiving a second input from the user which causes the second search box to be displayed on the user interface, wherein the second search box is for receiving a second search term to be searched in the document, wherein the user maintains a hold on a common key whilst the first and second input is received, and wherein the first input comprises a user pressing a second common key, and the second input comprises the user successively pressing the second common key. The present invention further provides a computer program comprising instructions which, when the program is executed by a computer, cause the computer to carry out the method as claimed and / or described herein. The present invention further provides a computer system comprising means for carrying out the method as claimed and / or as described herein. The present invention further provides a computer system for identifying search terms in a document, wherein the system comprises a user input device which is configured to receive a first search term and a second search term, a processor which is configured to search the document for the first search term and the second search term and to identify when the first search term is within a predetermined proximity of the second search term, and a user interface which is configured to display an output which identifies the first search term and the second search term in the document each time that the first term is within the predetermined proximity of the second search term in the document. The present invention further provides a computer system for identifying search terms in a document, wherein the system comprises a user interface which is configured to display an output which identifies the first search term and the second search term in the document each time that the first term is within a predetermined proximity of the second search term in the document. Further optional features of the invention are defined in the dependent claims and / or in the description and / or in the figures. Brief description of the drawings So that the invention may be more readily understood, reference is made to the accompanying drawings, in which: Fig. 1 shows a schematic diagram of a computer system; Fig. 2 shows at least part of a user interface for searching a first search term and a second search term; Fig. 3 shows at least part of an alternative user interface for searching a first search term and a second search term; Fig. 4 shows at least part of a user interface, illustrating an example of identifying the first and second search terms in a document; Fig. 5 shows at least part of a user interface, illustrating an adjustment mechanism for adjusting a predetermined proximity; Fig. 6 shows at least part of a user interface, illustrating an example of identifying first and second search terms in a document when the first term is within a predetermined proximity of the second search term; Fig. 7 shows at least part of a user interface, illustrating an adjustment mechanism for adjusting a predetermined proximity; Fig. 8 shows at least part of a user interface, illustrating an example of identifying first and second search terms in a document when the first term is within a predetermined proximity of the second search term; Fig. 9 shows at least part of a user interface, illustrating an example of a user interface for searching the first search term and the second search term; Fig. 10 illustrates an example of a navigation tool; Fig. 11 shows at least part of a user interface, illustrating an adjustment mechanism for adjusting a predetermined proximity; Fig. 12 shows at least part of a user interface, illustrating an example of identifying first and second search terms in a document when the first term is within a predetermined proximity of the second search term; Fig. 13 shows at least part of a user interface, illustrating a first search box for receiving the first search term and a second search box for receiving the second search term; and Fig. 14 is a flow chart illustrating an example method. Detailed description The description illustrates example embodiments of the present subject matter. Fig. 1 shows an example computer system for searching multiple search terms in a document. The computer system has a user interface 1, which is configured to display a document to a user. The user interface 1 may be provided on a desk top monitor, a tablet, a laptop, a mobile phone screen, a virtual reality headset or augmented reality glasses, for example. The system comprises a user input device 2 in the form of a keyboard, although other forms of user input devices could be used such as a voice input or a keypad provided on a mobile phone or tablet. A user can input the terms to be searched through the user input device 2. The user input device may comprise a mouse, a trackpad and / or a touchscreen for moving a cursor on the user interface 1. The computer system has a computer 3 which comprises a processor. The processor is configured to search a document for the first search term and the second search term. The processor may be further configured to identify when the first search term is within a predetermined proximity of the second search term. The user interface 1 is configured to display an output which identifies the first search term and the second search term in the document. The user interface may identify the first search term and the second search term in the document only when the first term is within a predetermined proximity of the second search term. The computer 3 may be located locally to the user interface 1 or remotely from the user interface. The computer processing may be performed on a cloud server. The methods described herein may describe features which solely relate to the display on the user interface 1. The methods may alternatively or additionally describe features relating to the computer 3 and / or the user input device 2. Fig. 2 shows an example of a user interface which displays a first search box 11 and a second search box 21. The first search box 11 is configured to receive a first search term 10 which is input by a user via the user input device 2. The second search box 21 is configured to receive a second search term 20 which is input by a user via the user input device 2. The first and second search terms may include alphanumeric characters, and may include a single word or character or multiple words or terms. In the example shown in Fig. 2, the user has input the word “proximal” for the first search term 10, and “second sensor” for the second search term 20. The user interface shows the total number of times that the first search term appears in the document. In Fig. 2, the first search term appears 68 times, and the second search term appears 4 times. The user interface displays a colour selection function 16. The colour selection function 16 allows the user to select a first colour for highlighting the first search term 10 in the document, and to select a second colour for highlighting the second search term 20 in the document. In the example shown in the figure, the colour selection function 16 provides a pallet of six boxes each of which has a different colour, including a first colour 31, a second colour 34, a third colour 32, a fourth colour 35, a fifth colour 33, and a sixth colour 36. The user may move a cursor 15 on the user interface to choose one of the six boxes to select a first colour 31. The user may then move the cursor 15 to select the first colour box 41 associated with the first search term to confirm that the first colour 31 is to be used to highlight the first search term 10 in the document. The user may move the cursor 15 on the user interface to choose one of the six boxes to select a second colour 34. The user may then move the cursor 15 to select a second colour box 42 associated with the second search term to confirm that the second colour 34 is to be used to highlight the second search term 20 in the document. The colour selection function 16 may require that the first and second colours are different colours, for example by removing the first colour from the pallet after it has been selected to highlight the first search term. The colour selection function may be graphically represented in alternative ways, and it may include a different number of colours. For example, the colour selection function may appear when a user clicks on the first colour box 41 or the second colour box 42, and the pallet may be displayed adjacent to the first colour box 41 or the second colour box 42. Fig. 3 shows an example of an alternative user interface which has a search box 60 which is configured to receive an input from a user. The user provides the input into the search box 60, such as a string of text. A machine learning model is then used to select the first search term and the second search term from the input in the search box 60. In this example, the machine learning model has selected the word “proximal” as the first search term 10 and the words “second sensor” as the second search term 20. The first and second search terms 10, 20 may or may not be displayed in first and second search boxes 11, 21 respectively on the user interface. The user interface in Fig. 3 may additionally display the total number of times that the first and second search terms appear in the document and / or display the colour selection function, as described in more detail above in relation to Fig. 2. The machine learning model may alternatively select the first and second search terms from an alternative user input, such as from a voice input. The first and second search terms which are selected by the machine learning model may be used in combination with any of the other features described herein. Fig. 4 shows an example of identifying the first search term 10 and the second search term 20 each time that they appear in the document. The first search term 10 and the second search term 20 may have been selected and entered by a user, for example using the first and second search boxes 11, 21, which are shown and described above in relation to Fig. 2, or using the search box 60 and machine learning model which is shown and described above in relation to Fig. 3. The first search term 10 is highlighted in a first colour 31 and the second search term 20 is highlighted in a second colour 34. Although alternative ways of identifying the first and second search terms 10, 20 are possible. Instead of indiscriminately identifying the first search term 10 and the second search term 20 each time that they appear in the document, the first search term 10 and the second search term 20 may only be identified each time that the first search term is within a predetermined proximity of the second search term. The predetermined proximity may be when the first search term 10 is in the same sentence, paragraph or page as the second search term 20, for example. If the document is a spreadsheet then the predetermined proximity may be when the first search term 10 is in the same cell, row, column or sheet as the second search term 20, for example. The predetermined proximity may be a spacing between the first search term 10 and the second search term 20, such as a maximum number of words or characters. The predetermined proximity may be a preset or it may determined automatically by the computer using an algorithm. For example, an algorithm may determine the different number of words between the first and second search terms in the document, and select the predetermined proximity to select the quartile of the first and second search terms with the closest spacing. The predetermined proximity may be determined automatically by the computer using a machine learning model to determine the predetermined proximity. For example, the machine learning model may review the distribution of the first and second search terms in the document and set the predetermined proximity accordingly. A number of adjustment mechanisms are described herein which allow the user to adjust the predetermined proximity. The user can adjust the predetermined proximity in addition to the automatic methods described above or alternatively to the automatic methods described above such that the predetermined proximity is solely controlled by the user. Fig. 5 shows an example of an adjustment mechanism 205 which allows a user to adjust the predetermined proximity. In this case, the predetermined proximity comprises the first and second search terms being in the same sentence or in the same paragraph. The adjustment mechanism 205 allows the user to require that the first and second search terms 10, 20 are in the same sentence and / or in the same paragraph as a requirement for when the first and second search terms are identified on the user interface. The adjustment mechanism 205 includes a first selection box 203 which a user can select to require the first and second search terms 10, 20 to be in the same sentence in order for the first and second search terms to be identified on the user interface. The adjustment mechanism 205 includes a second selection box 204 which a user can select to require the first and second search terms 10, 20 to be in the same paragraph in order for the first and second search terms to be identified on the user interface. In Fig. 5, the user interface indicates that the user has selected the first box 203 by including a tick 206 in the first box. The first and second search terms will then only be identified in the document on the user interface when they appear in the same sentence. The adjustment mechanism 205 shown in Fig. 5 may be displayed on a user interface in addition to the features which are shown and described in relation to Figs. 2 and 3. Alternatively, some but not all of the features which are shown and described in relation to Figs. 2 and 3 may be displayed on the user interface in conjunction with the adjustment mechanism from Fig. 5. For example, the user interface may display the adjustment mechanism 205 from Fig. 5 and the first search box 11 and the second search box 21 from Fig. 2. The user interface may additionally display the first colour box 41, the second colour box 42 and optionally the colour selection function 16, if the user is able to adjust the colour for highlighting the first and second search terms. Fig. 6 shows at least part of a user interface, illustrating an example of identifying the first search term 10 and the second search term 20 in a document when the first search term 10 is in the same sentence as the second search term 20. Although the first search term 10 and the second search term 20 appear multiple times in the document, they are only identified when they appear in the same sentence. The requirement to only identify the first and second search terms when they are in the same sentence may have been set by the user using the adjustment mechanism 205 which is shown and described in relation to Fig. 5. In Fig. 6, the first search term 10 is identified by highlighting the first search term 10 in the first colour 31, and the second search term 20 is identified by highlighting the second search term 20 in the second colour 34 each time the first and the second search terms are within the same sentence. However, alternative ways of identifying the first and second search terms 10, 20 are possible, such as displaying the first and second search terms in italics and / or bold text and / or underlining the text. Fig. 7 shows an example of another adjustment mechanism 305 which allows a user to adjust the predetermined proximity. In this case, the adjustment mechanism 305 allows the user to set a spacing, such as a maximum number of words or characters, between the first and second search terms 10, 20 as a requirement for when the first and second search terms are identified on the user interface. The adjustment mechanism 305 includes a scale 306 which represents different values for the spacings which can be set as the predetermined proximity. In this example, the values represent the maximum number of words between the first and second search terms. The adjustment mechanism 305 includes an icon 307 which is positionable along the scale by a user for adjusting the predetermined proximity to correspond to the position of the icon on the scale. The icon 307 can be positioned at any location along the scale 306. In Fig. 7, the user has located the icon 307 on the scale to set a maximum number of four words between the first and second search terms in the document as a requirement for when the first and second search terms are identified on the user interface. The first and second search terms will then only be identified in the document on the user interface when there is no more than four words between them. The numbers on the scale 306 may be preset or may be automatically adjusted by the computer based on the smallest spacing between the first search term and the second search term in the document and / or based on the largest spacing between the first search term and the second search term in the document. For example, if the smallest number of words between the first search term and the second search term in the document is two words, and the largest spacing of words between the first search term and the second search term in the document is one hundred words, then the scale could represent numbers from two to one hundred. The numbers on the scale 306 may represent a logarithmic scale, an exponential scale, or be at equally spaced intervals. The adjustment mechanism 305 shown in Fig. 7 may be displayed on a user interface in addition to the features which are shown and described in relation to Figs. 2, 3 and 5. Alternatively, some but not all of the features which are shown and described in relation to Figs. 2, 3 and 5 may be displayed on the user interface in conjunction with the adjustment mechanism from Fig. 7. For example, the user interface may display the adjustment mechanism 305 from Fig. 7 and the first search box 11 and the second search box 21 from Fig. 2. The user interface may additionally display the first colour box 41, the second colour box 42 and optionally the colour selection function 16, if the user is able to adjust the colour for highlighting the first and second search terms. Fig. 8 shows at least part of a user interface, illustrating an example of identifying the first search term 10 and the second search term 20 in a document when there is a requirement that the first search term 10 and the second search term 20 have a maximum number of words between them in order for the terms to be identified. Although the first search term 10 and the second search term 20 appear multiple times in the document, they are only identified when they are within the maximum number of words between the first and second search terms. The maximum number of words may have been set by the user using the adjustment mechanism 305 which is shown and described in relation to Fig. 7. If a maximum number of four words has been set as the predetermined proximity then the first and second search terms are only identified when there are four or less words between the first and second search terms, as seen for example in Fig. 8. In Fig. 8, the first search term 10 is identified by highlighting the first search term 10 in the first colour 31, and the second search term 20 is identified by highlighting the second search term 20 in the second colour 34. However, alternative ways of identifying the first and second search terms 10, 20 are possible. It is possible to select features which have been described above in relation to Figs. 2, 3, 5 and 7 to provide a user interface with different functionalities in relation to the search, as required. Fig. 9 shows an example of a user interface in which some of the different functionalities are displayed in combination. The features have been described separately above and shall not be described again in relation to Fig. 9. Fig. 10 shows a navigation tool 400 which may be displayed on a user interface. The navigation tool 400 allows a user to move to a next search result in a document. The next search result is the next occurrence of the first search term 10 being within the predetermined proximity of the second search term 20. In the example of Fig. 10, the navigation tool has a first arrow 402 for allowing a user to move to a next search term in a document in a first direction, and a second arrow 401 for allowing a user to move to a next search term in a document in an opposite direction to the first direction. A user can place a curser on the first or second arrow 402, 401 and tap on a trackpad, for example, to select the first or second arrow and move to the next search result accordingly. An additional marker may be displayed on the screen to indicate the next search result which the navigation tool has navigated to. The next search term could be highlighted in a particular colour, such as grey, to assist the user in navigating the document. The navigation tool only allows the user to move between the first and second search terms 10, 20 in the document when the first search term is within the predetermined proximity of the first search term. The navigation tool would not move to one of the first and second search terms 10, 20 which is not highlighted in Fig. 8, for example, since these search terms are not within a predetermined proximity of one another. The navigation tool does not need to have two arrows, as shown in Fig. 10, and it could instead have a single arrow or other input means for allowing a user to move to a next search result in a document. The navigation tool may be displayed by itself or in addition to any of the features of the user interfaces described herein. Additionally or alternatively, the computer may be configured to automatically navigate to the part of the document in which the first and second search terms appear most frequently in proximity to each other. For example, after entering the search terms via the user interface of Fig. 2 or Fig. 3, the computer could automatically determine the part of the document where the search terms occur most frequently in the document and then display that part of the document on the user interface. The first and the second search terms could be additionally identified to the user, as discussed herein, for example by highlighting the first and second search terms in different colours. In any of the methods described herein, the method may further comprise automatically navigating to the part of the document in which the first and the second search terms appear most frequently in proximity to each other, for example when the first and second search terms appear most frequently within the predetermined proximity. Automatically navigating to the part of the document may comprise automatically displaying the part of the document on the user interface. Fig. 11 shows a user interface which displays an adjustment mechanism 505 having a scale 506 which represents different values for the spacing between the first and second search terms, and an icon 507 which is positionable on the scale by a user for adjusting the predetermined proximity to correspond to the position of the icon 507 on the scale. The scale 506 is similar to that described above in relation to Fig. 7, except that the scale 506 is exponential, with the maximum value on the scale corresponding to the largest spacing of the first and second search terms in the document, in this example. The values on the scale 506 represent the maximum number of words between the first search term and the second search term which can be set as a requirement, in order for the first and second search terms to be identified on the user interface. In addition to displaying the scale 506, the user interface displays a histogram 510 which displays a frequency at which the first and second search terms 10, 20 appear at different spacings between the first and second search terms 10, 20 in the document. The different spacings are the number of words between the first and second search terms. In the example shown in Fig. 11, the histogram is a cumulative histogram. The histogram has bins which are separated by markers. In Fig. 11, for example, the markers are at 2, 8, 32, 128, 522 and 4321 words between the first and second search terms. Fig. 11 shows that there is one occurrence in the document in which there is a spacing of between 2 and 8 words between the first and second search terms, and 8 occurrences in the document in which there is a spacing of between 8 and 32 words between the first and second search terms in the document. The histogram 510 helps guide the user in selecting the maximum spacing between the first and second search terms to set as the predetermined proximity. In the example shown in Fig. 11, a user could choose to position the icon 507 on the scale 506 to set the predetermined proximity to a maximum of 128 words between the first and second search terms 10, 20 as a requirement for identifying the first and second search terms on the user interface. The histogram 510 may be displayed by itself on the user interface without the scale 506 and icon 507 being displayed. The histogram may be displayed in conjunction with another adjustment mechanism such as an input box which allows a user to enter a number for the spacing of the first and second search terms to set the predetermined proximity (not shown). If the histogram 510 and the scale 506 are both displayed on the user interface then the histogram may be displayed in proximity to the scale 506 so that the markers on the histogram bins align with the corresponding values on the scale. This is shown in Fig. 11. Although the histogram 510 and scales 306, 506 are discussed above in relation to representing the maximum number of words between the first and second search terms for setting the predetermined proximity, the histogram and / or the scale could alternatively show the maximum number of characters between the first and second search terms for setting the predetermined proximity, for example. Fig. 12 shows an alternative way of identifying when the first search term is within the predetermined proximity of the second search term on the user interface. Instead of highlighting the first search term 10 and the second search term 20 individually, an entire portion of text is highlighted in a particular colour 600 between the first and second search terms 10, 20 and including the first search term 10 and the second search term 20. Optionally, the first and the second search terms 10, 20 may additionally or alternatively be highlighted in first and second colours 31, 34, which may be different to the particular colour 600. Fig. 13 shows an example of a user interface which displays a first search box 711 and a second search box 721. The first search box 711 is configured to receive a first search term 710 which is input by a user via user input device. The second search box 721 is configured to receive a second search term 720 which is input by a user via a user input device. The first and second search terms may include alphanumeric characters, and may include a single word or character or multiple words or terms. The user may input commands via the user input device which causes the first and second search boxes 711, 721 to appear on the user interface. For example, the user interface may initially just display the document to be searched, and a user may provide a first input via the user input device 2 to cause the first search box 711 to be displayed on the user interface. The user may then provide a second input via the user input device 2 which causes the second search box 721 to be displayed on the user interface. A user maintains a hold on a common key whilst the first and second input is received. The first input comprises a user pressing a second common key, and the second input comprises a user pressing the second common key. For example, a user may hold down a modifier key such as the “control” key on the keyboard whilst pressing the “f” key, which causes the first search box 711 to appear on the user interface. The user maintains their hold on the “control key” and presses the “f” key a second time which causes the second search box 721 to appear on the user interface. After the search boxes 711, 721, have been displayed on the user interface, the user is then able to enter a first search term into the first search box and to enter a second search term into the second search box. The document can then be searched for the first and second search terms and the results displayed on the user interface. The first and second search terms may only be identified on the user interface each time that the first search term is within the predetermined proximity of the search term, as described herein. This method of causing the first search box 711 and the second search box 722 to appear on the screen may be used in conjunction with some or all of the features described above in relation to Figs. 2 to 12. The features and method described in relation to Fig. 13 may be provided with the user interface of Fig. 2, for example, to cause the first search box 11 and the second search box 21 to appear on the screen. In any of the embodiments described herein, it is possible to search the document for more than two search terms. The method may further comprise searching the document for at least a third search term. Each additional search term may be identified in the document, for example by highlighting each additional search term in a colour. Each additional search term may only be identified when it is within the predetermined proximity of the first search term and / or the second search term. Fig. 14 shows a method for identifying multiple search terms in a document. A first step 901 comprises receiving a first search term and a second search term. A second step 902 comprises searching a document for the first search term and the second search term, and identifying when the first search term is within a predetermined proximity of the second search term. A third step 903 comprises displaying an output on a user interface that identifies the first and second search terms when the first search term is within the predetermined proximity of the second search term. Optionally, a fourth step 904 then comprises adjusting the predetermined proximity. The fourth step 904 may alternatively be performed before the first step 901 or immediately after the first step 901. Although the present subject matter has been described with reference to specific embodiments, various modifications and changes may be made. For example, features may be combined or made optional.

Claims

1. A computer-implemented method for identifying search terms in a document, comprising displaying an output on a user interface which identifies the first search term and the second search term in the document each time that the first term is within a predetermined proximity of the second search term in the document2. The computer-implemented method of claim 1, wherein the predetermined proximity comprises the first and second search terms being in the same sentence and / or in the same paragraph and / or on a same page and / or on the same sheet.

3. The computer-implemented method of claim 1 or 2, wherein the predetermined proximity comprises a spacing between the first and second search terms, and optionally wherein the spacing is a maximum number of words or characters.

4. The computer-implemented method of the preceding claims, comprising determining the predetermined proximity automatically, for example by using a machine learning model to determine the predetermined proximity.

5. The computer-implemented method of any of the preceding claims, further comprising displaying an adjustment mechanism on the user interface for allowing a user to adjust the predetermined proximity.

6. The computer-implemented method of claim 5 when dependent upon claim 3, wherein the adjustment mechanism comprises a scale which represents different values for the spacing between the first and second search terms.

7. The computer-implemented method of claim 6, wherein the adjustment mechanism further comprises an icon which is positionable along the scale by a user for adjusting the predetermined proximity to correspond to the position of the icon on the scale.

8. The computer-implemented method of claim 6 or 7, comprising automatically adjusting the scale based on the smallest spacing between the first search term and the second search term in the document and / or based on the largest spacing between the first search term and the second search term in the document.

9. The computer-implemented method of any preceding claim, further comprising displaying a histogram on the user interface, wherein the histogram displays a frequency at which the first and second search terms appear at different spacings between the first and second search terms in the document, and optionally wherein the different spacings comprise the number of words or characters between the first and second search terms in the document.10.The computer-implemented method of claim 9 when dependent upon claims 6, 7 or 8, wherein the histogram is displayed in proximity to the scale so that markers between the bins on the histogram align with corresponding values on the scale.

11. The computer-implemented method of claim 9 or 10, comprising automatically determining the markers between the bins on the histogram, and optionally wherein the markers between the bins on the histogram are determined based on a distribution of the different spacings between the first and second search terms in the document.12.The computer-implemented method of any preceding claim, further comprising displaying a navigation tool on the user interface which allows a user to move to a next search result in the document, wherein the next search result is a next occurrence of the first search term being within the predetermined proximity of the second search term.13.The computer-implemented method of any preceding claim, further comprising displaying an output on the user interface which identifies at least a third search term each time that the at least the third search term is withinthe predetermined proximity of the first search term and / or the second search term.14.The computer-implemented method of any preceding claim, wherein displaying the output on the user interface which identifies the first search term and the second search term comprises highlighting each of the first search terms in a first colour and each of the second search terms in a second colour.

15. A computer-implemented method for identifying different search terms in a document, wherein the different search terms comprise a first search term and a second search term, comprising displaying an output on a user interface which identifies the first search term and the second search term in the document by highlighting each of the first search terms in a first colour and each of the second search terms in a second colour.

16. The computer-implemented method of claim 14 or 15, wherein the first colour is different to the second colour.

17. The computer-implemented method of any of claims 14 to 16, further comprising displaying a colour selection function on the user interface for allowing the user to select the first colour and / or the second colour, and optionally wherein the colour selection function requires the first colour to be different to the second colour.18.The computer-implemented method of any preceding claim, comprising using a machine learning model to select the first search term and the second search term from a user input.19.The computer-implemented method of any preceding claim, further comprising displaying a first search box on the user interface for receiving the first search term and displaying a second search box on the user interface for receiving the second search term.20.The computer-implemented method of claim 19, comprising receiving a first input from a user which causes the first search box to be displayed on theuser interface, and receiving a second input from the user which causes the second search box to be displayed on the user interface, and optionally wherein the user maintains a hold on a common key whilst the first and the second input is received.21 .The computer-implemented method of claim 20, wherein the first input comprises a user pressing a second common key, and the second input comprises the user successively pressing the second common key.

22. A computer-implemented method for displaying a first search box and a second search box on a user interface, comprising receiving a first input from a user which causes the first search box to be displayed on the user interface, wherein the first search box is for receiving a first search term to be searched in a document, and receiving a second input from the user which causes the second search box to be displayed on the user interface, wherein the second search box is for receiving a second search term to be searched in the document, wherein the user maintains a hold on a common key whilst the first and second input is received, and wherein the first input comprises a user pressing a second common key, and the second input comprises the user successively pressing the second common key.

23. A computer program comprising instructions which, when the program is executed by a computer, cause the computer to carry out the method of any of the preceding claims.

24. A computer system comprising means for carrying out the method of any one of claims 1 to 22.

25. A computer system for identifying search terms in a document, wherein the system comprises a user input device which is configured to receive a first search term and a second search term, a processor which is configured to search the document for the first search term and the second search term and to identify when the first search term is within a predetermined proximity of the second search term, and a user interface which is configured to display an output which identifies the first search term and the second search term in thedocument each time that the first term is within the predetermined proximity of the second search term in the document.