<commit_before># ElephantDB Client

A Clojure client interface to ElephantDB.

## Example Usage

Assuming a domain with string keys and values serialized to byte
arrays:

```clojure
(use 'elephantdb.client)

;; serialize strings to byte arrays
(def keys (map #(.getBytes %) ["biggie" "tupac"]))

;; deserialize the key/value pairs back to Strings
(with-elephant "127.0.0.1" 3578 connection
   (let [results-map (multi-get connection "rappers" keys)]
       (into {} (for [[k v] results-map]
         [(String. k) (String. v)]))))

;; => {"biggie" "east-coast", "tupac" "west-coast"}
```<commit_msg>rework README example<commit_after># ElephantDB Client

A Clojure client interface to ElephantDB.

## Example Usage

Assuming a domain with string keys and values serialized to byte
arrays:

```clojure
(use 'elephantdb.client)

;; serialize strings to byte arrays
(defn serialize-strings [coll]
  (map #(.getBytes %) coll))

;; deserialize results map back to strings
(defn deserialize-strings [m]
  (into {} (for [[k v] m]
             [(String. k) (String. v)])))

;; deserialize the key/value pairs back to Strings
(with-elephant "127.0.0.1" 3578 connection
  (deserialize-strings (multi-get connection "rappers" (serialize-strings ["biggie" "tupac"])))

;; => {"biggie" "east-coast", "tupac" "west-coast"}
```
{'fraction_non_alphanumeric': 0.14721586575133486, 'fraction_numerical': 0.015255530129672006, 'mean_word_length': 4.3117408906882595, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '2459235', 'n_tokens_mistral': 461, 'n_tokens_neox': 433, 'n_words': 146}