This repository has been archived by the owner on Nov 28, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use python3, python3 imports, docstring formatting
- Loading branch information
AGiantSquid
committed
Dec 13, 2018
1 parent
bbbf616
commit b2464bf
Showing
12 changed files
with
109 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/python | ||
#!/usr/bin/env python3 | ||
|
||
ONTOLOGICAL_TAGS = ( | ||
'IN', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/bash | ||
|
||
curl -X POST http://localhost:1234/discover \ | ||
-H "Content-type: multipart/form-data" \ | ||
-F 'data={"json_lattice": {"transcript": "I need directions to fifty five west monroe avenue by car"}};type=application/json' | ||
-H "Content-Type: application/json" \ | ||
-d '{"transcript": "I need directions to fifty five west monroe avenue by car"}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/bash | ||
|
||
curl -X POST http://localhost:1234/discover \ | ||
-H "Content-type: multipart/form-data" \ | ||
-F 'data={"json_lattice": {"transcript": "dial one eight"}};type=application/json' | ||
-H "Content-Type: application/json" \ | ||
-d '{"transcript": "dial one eight"}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/bash | ||
|
||
curl -X POST http://localhost:1234/discover \ | ||
-H "Content-type: multipart/form-data" \ | ||
-F 'data={"json_lattice": {"transcript": "five a is calling thirteen c"}};type=application/json' | ||
-H "Content-Type: application/json" \ | ||
-d '{"transcript": "five a is calling thirteen c"}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/bash | ||
|
||
curl -X POST http://localhost:1234/discover \ | ||
-H "Content-type: multipart/form-data" \ | ||
-F 'data={"json_lattice": {"transcript": "You can reach me at five five five four three two five nine eight one"}};type=application/json' | ||
-H "Content-Type: application/json" \ | ||
-d '{"transcript": "You can reach me at five five five four three two five nine eight one"}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.