-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
85 changed files
with
455 additions
and
137 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
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
Leaving Main method. | ||
Starting Main Menu | ||
In MainMenu() | ||
Automatically looking up user entered word: | ||
mountain | ||
Found that QueryMode is set to words. | ||
Looking up the word: | ||
mountain | ||
Now to call the words endpoint. | ||
Getting request keys | ||
resetHeaders called. | ||
App Id is: | ||
4ebc819b | ||
Key is: | ||
b6b1ca0e4e766b222d56c20f43c2396f | ||
Here are the request Headers... | ||
Accept: application/json | ||
app_id: 4ebc819b | ||
app_key: b6b1ca0e4e766b222d56c20f43c2396f | ||
|
||
Calling the API | ||
Called callWordsAPI | ||
Making the request | ||
Got responses. | ||
Set JSONResponse to the response. | ||
Left getWords task with the JSONResponse. | ||
Parsing JSON | ||
We now have the data as a string. | ||
[{"id": "mountain_nn01", "band": 7, "meta": {"created": 1908, "revised": true, "updated": 2003}, "lemma": "mountain", "oed_url": "https://www.oed.com/view/Entry/122893#eid35744113", "daterange": {"end": null, "start": 1275, "obsolete": false, "rangestring": "c1275\u2014"}, "etymology": {"etymons": [{"word": "montain", "language": "French"}, {"word": "montaine", "language": "French"}, {"word": "mountaine", "language": "French"}, {"word": "muntaine", "language": "French"}, {"word": "muntaigne", "language": "French"}, {"word": "montaigne", "language": "French"}, {"word": "montangne", "language": "French"}], "etymology_type": "borrowing", "etymon_language": [["European languages", "Italic", "Romance", "Italo-Western", "Gallo-Romance", "French"]], "source_language": [["European languages", "Italic", "Latin"]], "etymology_summary": "A borrowing from French."}, "first_use": "Layamon", "frequency": [[1750, 93], [1760, 100], [1770, 110], [1780, 120], [1790, 130], [1800, 140], [1810, 140], [1820, 150], [1830, 150], [1840, 140], [1850, 140], [1860, 140], [1870, 130], [1880, 130], [1890, 120], [1900, 110], [1910, 100], [1920, 96], [1930, 87], [1940, 81], [1950, 74], [1960, 65], [1970, 58], [1980, 53], [1990, 54], [2000, 56], [2010, 57]], "sense_ids": ["mountain_nn01-35744118", "mountain_nn01-35744345", "mountain_nn01-35744405", "mountain_nn01-35744498", "mountain_nn01-35744528", "mountain_nn01-35744574", "mountain_nn01-35744798", "mountain_nn01-35744921", "mountain_nn01-35745061", "mountain_nn01-35745115", "mountain_nn01-35745248", "mountain_nn01-35745273"], "definition": "A large natural elevation of the earth's surface, esp. one high and steep in form (larger and higher than a hill) and with a summit of relatively small area.", "main_entry": true, "inflections": [{"region": "British", "inflections": [{"form": "mountain", "part_of_speech": "NN"}, {"form": "mountains", "part_of_speech": "NNS"}]}, {"region": "US", "inflections": [{"form": "mountain", "part_of_speech": "NN"}, {"form": "mountains", "part_of_speech": "NNS"}]}], "frequency_id": "mountain_nn01-fq", "oed_reference": "mountain, n.", "pronunciations": [{"ipa": ["\u02c8ma\u028ant\u1d7bn"], "region": "British"}, {"ipa": ["\u02c8ma\u028ant(\u0259)n"], "region": "US"}], "parts_of_speech": ["NN"], "primary_sense_id": "mountain_nn01-35744118"}] | ||
Extracted definition. | ||
Set definition to query object. | ||
Now to get and set the word ID. | ||
The wordID was grabbed as: | ||
mountain_nn01The user's input was read as: | ||
s | ||
Get senses selected. | ||
API.cs is starting senses mode. | ||
Getting request keys | ||
resetHeaders called. | ||
App Id is: | ||
4ebc819b | ||
Key is: | ||
b6b1ca0e4e766b222d56c20f43c2396f | ||
Here are the request Headers... | ||
Accept: application/json | ||
app_id: 4ebc819b | ||
app_key: b6b1ca0e4e766b222d56c20f43c2396f | ||
|
||
Called callSensesAPI | ||
Making the request | ||
System.Net.Http.HttpConnection+ContentLengthReadStream | ||
Got senses responses. | ||
Set JSONResponse to the response. | ||
Ran senses using start. | ||
In MainMenu() | ||
The user's input was read as: | ||
x | ||
Exit selected. |
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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
Leaving Main method. | ||
Starting Main Menu | ||
In MainMenu() | ||
Automatically looking up user entered word: | ||
computer | ||
Found that QueryMode is set to words. | ||
Looking up the word: | ||
computer | ||
Now to call the words endpoint. | ||
Getting request keys | ||
resetHeaders called. | ||
App Id is: | ||
4ebc819b | ||
Key is: | ||
b6b1ca0e4e766b222d56c20f43c2396f | ||
Here are the request Headers... | ||
Accept: application/json | ||
app_id: 4ebc819b | ||
app_key: b6b1ca0e4e766b222d56c20f43c2396f | ||
|
||
Calling the API | ||
Called callWordsAPI | ||
Making the request | ||
Got responses. | ||
Set JSONResponse to the response. | ||
Left getWords task with the JSONResponse. | ||
Parsing JSON | ||
We now have the data as a string. | ||
[{"id": "computer_nn01", "band": 9, "meta": {"created": 1891, "revised": true, "updated": 2008}, "lemma": "computer", "oed_url": "https://www.oed.com/view/Entry/37975#eid8618136", "daterange": {"end": null, "start": 1613, "obsolete": false, "rangestring": "1613\u2014"}, "etymology": {"etymons": [{"word": "compute", "language": "English", "target_id": "compute_vb01", "part_of_speech": "VB"}, {"word": "-er", "language": "English", "target_id": "er_su01", "part_of_speech": "SUFFIX"}], "etymology_type": "derivative", "etymon_language": [["English"]], "source_language": [["European languages", "Italic", "Latin"]], "etymology_summary": "Formed within English, by derivation."}, "first_use": "\u2018R. B.\u2019", "frequency": [[1750, 0.21], [1760, 0.18], [1770, 0.17], [1780, 0.16], [1790, 0.15], [1800, 0.14], [1810, 0.083], [1820, 0.077], [1830, 0.086], [1840, 0.086], [1850, 0.093], [1860, 0.11], [1870, 0.13], [1880, 0.16], [1890, 0.18], [1900, 0.21], [1910, 0.24], [1920, 0.45], [1930, 2.1], [1940, 10], [1950, 17], [1960, 40], [1970, 77], [1980, 110], [1990, 120], [2000, 120], [2010, 120]], "sense_ids": ["computer_nn01-8618138", "computer_nn01-8618177", "computer_nn01-130514973", "computer_nn01-130514976"], "definition": "An electronic device (or system of devices) which is used to store, manipulate, and communicate information, perform complex calculations, or control or regulate other devices or machines, and is capable of receiving information (data) and of processing it in accordance with variable procedural instructions (programs or software); esp. a small, self-contained one for individual use in the home or workplace, used esp. for handling text, images, music, and video, accessing and using the internet\u2026", "main_entry": true, "inflections": [{"region": "British", "inflections": [{"form": "computer", "part_of_speech": "NN"}, {"form": "computers", "part_of_speech": "NNS"}]}, {"region": "US", "inflections": [{"form": "computer", "part_of_speech": "NN"}, {"form": "computers", "part_of_speech": "NNS"}]}], "frequency_id": "computer_nn01-fq", "oed_reference": "computer, n.", "pronunciations": [{"ipa": ["k\u0259m\u02c8pju\u02d0t\u0259"], "region": "British"}, {"ipa": ["k\u0259m\u02c8pjud\u0259r"], "region": "US"}], "parts_of_speech": ["NN"], "primary_sense_id": "computer_nn01-130514973"}] | ||
Extracted definition. | ||
Set definition to query object. | ||
Now to get and set the word ID. | ||
The wordID was grabbed as: | ||
computer_nn01The user's input was read as: | ||
s | ||
Get senses selected. | ||
API.cs is starting senses mode. | ||
Getting request keys | ||
resetHeaders called. | ||
App Id is: | ||
4ebc819b | ||
Key is: | ||
b6b1ca0e4e766b222d56c20f43c2396f | ||
Here are the request Headers... | ||
Accept: application/json | ||
app_id: 4ebc819b | ||
app_key: b6b1ca0e4e766b222d56c20f43c2396f | ||
|
||
Called callSensesAPI | ||
Making the request | ||
System.Net.Http.HttpConnection+ContentLengthReadStream | ||
Got senses responses. | ||
Set JSONResponse to the response. | ||
Ran senses using start. | ||
In MainMenu() | ||
The user's input was read as: | ||
x | ||
Exit selected. |
Oops, something went wrong.