    (token-regex ["token-regex.txt"]))
   ([paths]
    {:component :tok-re
-    :tok-re-resources paths}))
+    :tok-re-resources paths
+    :parser :stanford}))
 
 (defn parse-tree
   "Create annotator to create head and parse trees."
   []
-  {:component :parse-tree})
+  {:component :parse-tree
+   :parser :stanford})
 
 (defn dependency-parse-tree
   "Create an annotator to create a dependency parse tree."
   []
-  {:component :dependency-parse-tree})
+  {:component :dependency-parse-tree
+   :parser :stanford})
 
 (defn coreference
   "Create annotator to coreference tree structure."
   []
-  {:component :coref})
+  {:component :coref
+   :parser :stanford})
 
 (defn semantic-role-labeler
   "Create a semantic role labeler annotator.  You can configure the language

            (into {})
            (merge {:parse-config parse-config}))))))

(defn- registered-components
  "Return all registered component functions.  This is the `:component-fns` key
  in the registeration map provided by each parser."
  []
  (zipmap (->> @library-config-inst
               vals
               (map :component-fns)
               (apply concat)
               (map #(->> % pr-str (re-find #"\[[^/]+\/(.*)\]") second)))
          (->> @library-config-inst
               (map (fn [[k v]]
                      (map #(assoc (%) :parser k)
                           (->> v :component-fns))))
               (apply concat))))

(defn components-as-string
  "Return all available components as a string"
  []

                   only-tokenize? [(tokenize) (sentence)]
                   :else (components-by-parsers parsers))})

(create-parse-config :pipeline [(tokenize) (sentence)])

(defn- registered-components
  "Return all registered component functions.  This is the `:component-fns` key
  in the registeration map provided by each parser."
  []
  (zipmap (->> @library-config-inst
               vals
               (map :component-fns)
               (apply concat)
               (map #(->> % pr-str (re-find #"\[[^/]+\/(.*)\]") second)))
          (->> @library-config-inst
               (map (fn [[k v]]
                      (map #(%)
                                        ;#(assoc (%) :parser k)
                           (->> v :component-fns))))
               (apply concat))))

(defn create-parse-config-by-string
  "See [[create-context]]."
  [components]
