diff options
author | Morgan Astra <m@morganastra.me> | 2016-08-07 03:21:07 -0700 |
---|---|---|
committer | Morgan Astra <m@morganastra.me> | 2016-08-07 03:21:07 -0700 |
commit | 1a9fbedc1ff50512e36643109685074cc4d2ed40 (patch) | |
tree | fbbf14516cfbe1c54adfad54d5614a3020637c7c /src/pronouns/util.clj | |
parent | c3687318b1e435981c4190a941173ee7ed346d8c (diff) | |
parent | a4369bf8498a8fd314ef6f7a5bd45cb212bec161 (diff) |
Merge branch 'feature/multi-pronouns' into develop fixes #38
Diffstat (limited to 'src/pronouns/util.clj')
-rw-r--r-- | src/pronouns/util.clj | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pronouns/util.clj b/src/pronouns/util.clj index 4d4f928..3a4bf10 100644 --- a/src/pronouns/util.clj +++ b/src/pronouns/util.clj @@ -29,3 +29,6 @@ "given a list of pronoun rows, return a list of minimum unabiguous paths" [pronouns-table] (map (partial minimum-unambiguous-path pronouns-table) pronouns-table)) + +(defn vec-coerce [x] + (if (vector? x) x [x])) |