<commit_before># Hoogle-like documentation search engine for scala library.

    "map" Search for the text "map"
    "list map" Search for the text "list" and the text "map"
    "A => A" Search for the type "A => A"
    ": A => A" Search for the type "A => A"
    "a" Search for the text "a"
    "map : List[A] => (A => B) => List[B]" Search for the text "map" and the type "List[A] => (A => B) => List[B]" 

Searches can be either textual (a list of words), or by type (a type signature) or both. A type search may optionally start with a `:` symbol. A search is considered a text search unless it contains a combination of text and symbols, or if it starts with `:`. To search for both a type and a name, place a `:` between them, for example "size : List[A] => Int"

## Usage

Run it with sbt.

### Create the database
<commit_msg>Improve readme<commit_after># Hoogle-like documentation search engine for scala library.

    "map" Search for the text "map"
    "list map" Search for the text "list" and the text "map"
    "A => A" Search for the type "A => A"
    ": A => A" Search for the type "A => A"
    "a" Search for the text "a"
    "map : List[A] => (A => B) => List[B]" Search for the text "map" and the type "List[A] => (A => B) => List[B]" 

Searches can be either textual (a list of words), or by type (a type signature) or both. A type search may optionally start with a `:` symbol. A search is considered a text search unless it contains a combination of text and symbols, or if it starts with `:`. To search for both a type and a name, place a `:` between them, for example "size : List[A] => Int"

Ophir uses mongodb to store informations about scala library functions.

## Usage

Run it with sbt.

### Create the database

{'fraction_non_alphanumeric': 0.11653272101033295, 'fraction_numerical': 0.0, 'mean_word_length': 3.379396984924623, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2159930', 'n_tokens_mistral': 544, 'n_tokens_neox': 527, 'n_words': 285}