| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Duckling.Api
Documentation
analyze :: Text -> Context -> Options -> HashSet (Some Dimension) -> [ResolvedToken] Source #
Returns a curated list of resolved tokens found
When targets is non-empty, returns only tokens of such dimensions.
formatToken :: Text -> ResolvedToken -> Entity Source #
Converts the resolved token to the API format