Comments (10)
@ducdetronquito the API docs on Hackage are a reasonable place to start. I'm also new to duckling, but I've used haskell for some time. You'll find the hackage docs to be a great source of information for most libraries (it adds searchability, indexes, and better navigation through the haddock comments for each library).
Duckling's hackage page is here: https://hackage.haskell.org/package/duckling
And specifically, the API module (which appears to be the main programatic entry point) is at:
https://hackage.haskell.org/package/duckling-0.1.2.0/docs/Duckling-Api.html
from duckling.
@blandinw + @creswick : Thank you both for your answers :) I didn't know about the Hackage page, which is helpful !
I wanted to start a python binding of duckling, but I have to admit that I need to learn Haskell and improve my C skills first 😞
from duckling.
Hi @ducdetronquito,
We are planning on updating duckling.wit.ai
.
What exactly are you looking for?
from duckling.
Thanks @patapizza, it's a great news :)
General question here, I wasn't looking for something in particular. As I am very new to Haskell, just reading at duckling's code is not enough to understand how things work.
from duckling.
@ducdetronquito https://github.com/facebookincubator/duckling/blob/master/README.md shows the kind of output you get for each dimension, as well as an explanation on how to extend Duckling if you're looking to contribute.
We'll update duckling.wit.ai, but I'm not sure it will have more content than what's in the README + an interactive demo. Feel free to comment on this issue if you have ideas of content we could add!
from duckling.
Yeah, Thanks!!
from duckling.
Hey,
I need a little help, I was going through the code and came to know that for every <dimension>/<language>
there exist two files Rules and Corpus
one consisting of Rules and other for test cases which help us in structuring the query (please correct me if I'm wrong).
I would like to know how a sentence get parsed or How a structured data is generated, is NLP involved behind, if yes, How?
I'm new to Deep learning, so I'm unable to connect much how Rules and Corpus are used in structuring a query. Could you please help me with this part?
Also, how exe/Duckling/Ranking/Generate.hs
and exe/Duckling/Ranking/Train.hs
works and plays a role in parsing the text?
This would be of great help.
Thanks!
from duckling.
Hi @pranjaltale16,
At a high-level, Duckling is a rule engine. As such, it takes a bunch a rules and applies them on an input text; the core logic for this is in Duckling/Engine.hs. There is no deep learning involved.
In some cases, multiple valid parses are possible (e.g. "(between 8 and 10) tomorrow" and "between 8 and (10 tomorrow)"). To disambiguate these, we build classifiers based on the Corpus
examples; this is done in the files you mentioned.
Hope this help.
from duckling.
I'm also cannot find useful API doc or user guide, especially for non Haskell users, how duckling can be used.
- Used as a library? may be need some programming language bindings?
- Used as a server provides RESTful APIs ? I just tried
duckling-example-exe
, but there is no doc about what's the API response JSON format, and what's the meaning of each filed ?
from duckling.
Hi Guys
I am planning to put together a document to properly understand Duckling with things like what does a Token, Match etc mean. How does the rule engine work ? How does classifiers work? I have been learning haskell just because I need to add extra domain specific dimensions to Duckling. Is there anyone else who would like to contribute ?
from duckling.
Related Issues (20)
- Support Persian(fa) Languages HOT 4
- [Persian][Numeral] Extract incorrect number from text
- ghc: panic! when stack build.
- Error building on MacOS with M1 Pro HOT 4
- Can't build Docker image HOT 2
- [it_IT] add time corpus/rules
- Default log files are created even if different paths are provided via options
- [ERROR] Network.Socket.sendBuf: resource vanished HOT 1
- Time intervals are too large by one grain HOT 1
- [Question] Which elements are relevant for Test-Failures? HOT 3
- Will not run on new Macbook HOT 1
- Reject common phrases like "guten morgen"
- Up Text and Hashable constraints
- Ne dimension is not working. HOT 1
- Custom Dimension doesn't return the actual value!
- Intervals with leap year dates return incorrect years
- how can I detect the date and time separately? anyone knows?
- Inconsistent date range parsing HOT 1
- Incorrect abbreviation of 'millions' in locale DE HOT 1
- overalaping body in the extracted entities
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from duckling.