Questions tagged [duckling]
27 questions
4
votes
1 answer
how to pass a date/time reference in a call to a basic duckling server?
Any pointers on how to pass a date/time reference to a basic, vanilla duckling server?
I'm using duckling for parsing text. When looking for time expressions, I need to pass in a reference date/time.
A reference date/time gives me an anchor for…

arturomp
- 28,790
- 10
- 43
- 72
3
votes
1 answer
How to use DucklingHTTPExtractor in RASA?
I’m trying to extract entities using `DucklingHTTPExtractor. Here is the relevant code:
pipeline:
- name: "SpacyNLP"
- name: "SpacyTokenizer"
- name: "RegexFeaturizer"
- name: "SpacyFeaturizer"
- name: "CRFEntityExtractor"
- name:…

vivekanon
- 1,813
- 3
- 22
- 44
3
votes
2 answers
Duckling Installation on Windows - Missing C library: pcre on windows
I am new to haskell. I am using stack for installing a library called duckling. On the github the author has asked to install the duckling using the stack. I have installed the stack and referring the github page for installation github link for…

neel
- 572
- 4
- 17
2
votes
1 answer
Facebook's Duckling Cannot Identify Time Dimension Correctly
I'm using Facebook's Duckling to parse text. When I pass the text: 13h 47m it correctly classifies the entire text as DURATION (= 13 hours 47 minutes).
However, when I pass the text: 13h 47m 13s it cannot identify the 13s part of the String as being…

Bradford Griggs
- 439
- 2
- 15
2
votes
2 answers
Duckling, int() argument must be a string, a bytes-like object or a number, not 'java.lang.String',
I want to use duckling for time entity extraction from any string.
I am trying to use basic code for using duckling.
from duckling import DucklingWrapper
d = DucklingWrapper()
print(d.parse_time(u'Let\'s meet at 11:45am'))
For this I am getting…

omkar
- 31
- 7
2
votes
1 answer
Installing and running a haskell package offline
I'm trying to run duckling (https://github.com/facebook/duckling) on a Windows server.
Unfortunately, the server only has intranet access and no internet access. How do I set up Haskell to be able to build and run a package without internet access?…

atotalnoob
- 249
- 2
- 16
1
vote
2 answers
Need a 'text' parameter to parse duckling rasa x
I am trying to run duckling locally. So with the help of this article I installed stack, and then
cloned duckling code
git clone https://github.com/facebook/duckling.git
download the zoneinfo and updated the reference in exe/ExampleMain.hs
let…

Sunil Garg
- 14,608
- 25
- 132
- 189
1
vote
1 answer
Timezone field not working in Ner_Duckling
I am trying to use ner_duckling in rasa_nlu and unable to change time zone. By-default, it is giving output on the basis of UTC-timezone while I need output on the basis of IST timezone. Please let me know how can i change it from UTC to IST.
I am…

Surabhi Mundra
- 377
- 1
- 12
1
vote
1 answer
Facebook Duckling error getDirectoryContents:openDirStream: does not exist
i followed the following steps:
apt-get install haskell-platform
curl -sSL https://get.haskellstack.org/ | sh
git clone https://github.com/facebookincubator/duckling.git
stack setup
stack build
stack exec duckling-example-exe
and i get the…

Rob Smith
- 137
- 1
- 9
0
votes
0 answers
Facebook Duckling - server error: parsing on input
I am trying to run the Duckling server through my Windows 11 laptop and its giving this error.
I tried looking at the github page of Duckling and followed the instructions to run the server. It initially built it in a wrong format. Soon, I landed up…

SSking
- 1
- 3
0
votes
0 answers
Duckling send JSON to parse method ('Need a 'text' parameter to parse' error)
I work with Duckling, whish works on my local machine on port 8000. via CURL. Requests of the following type:
curl -X POST https://0.0.0.0:8000/parse -d 'locale=en_GB&text=tomorrow at eight'
executed successfully.
But when I do so:
curl -X POST…

senek
- 45
- 1
- 1
- 9
0
votes
0 answers
Rasa 3.x deployed on docker cant connect to duckling server
I have rasa running in a container and duckling running in another docker container.
I can access duckling from browser as well as postman but in rasa logs I get this error:
`rasa4 | 2023-01-05 10:16:01 ERROR`
…

Hussain Wali
- 308
- 3
- 12
0
votes
0 answers
What mechanic does duckling use for entity extraction, and how does it differ from standard regular expressions?
I would like to know what exactly the mechanisms behind duckling are.
I am quite proficient in regular expressions though, and it seems duckling uses those in a more advanced way. The only explanation I have found so far is the following:
"Duckling…
0
votes
1 answer
How can I add case insensitivity in Duckling software
I am using Duckling software.
In the FR Rules file:
ruleDemain :: Rule
ruleDemain = Rule
{ name = "demain"
, pattern =
[ regex "(le len)?demain"
]
, prod = \_ -> tt $ cycleNth TG.Day 1
}
I want the software to be able to interpret…

Wassim Malleh
- 1
- 6
0
votes
0 answers
Increase Precision of Text Parsed via Facebook Duckling?
I'm using Facebook Duckling to parse some text but the results include some odd dimensions:
String text = "Tomorrow, February 28";
String result = Duckling.parseText(text);
Result:
[
{
"body": "Tomorrow, February 28",
"start": 0,
…

Bradford Griggs
- 439
- 2
- 15