-
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
21 changed files
with
2,078 additions
and
2 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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file.
Empty file.
Large diffs are not rendered by default.
Oops, something went wrong.
Empty file.
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,99 @@ | ||
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 | ||
Ran senses synchronously. | ||
System.NullReferenceException: Object reference not set to an instance of an object. | ||
at OxfordV2.API.APICalls(CurrentQuery query) in C:\my-coding-projects\Oxford-App\OxfordV2\API.cs:line 348 | ||
In MainMenu() | ||
The 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 | ||
Ran senses synchronously. | ||
System.NullReferenceException: Object reference not set to an instance of an object. | ||
at OxfordV2.API.APICalls(CurrentQuery query) in C:\my-coding-projects\Oxford-App\OxfordV2\API.cs:line 348 | ||
In MainMenu() | ||
The 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 | ||
Ran senses synchronously. | ||
System.NullReferenceException: Object reference not set to an instance of an object. | ||
at OxfordV2.API.APICalls(CurrentQuery query) in C:\my-coding-projects\Oxford-App\OxfordV2\API.cs:line 348 | ||
In MainMenu() | ||
The user's input was read as: | ||
x | ||
Exit selected. |
Empty file.
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,57 @@ | ||
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 | ||
Ran senses using start. | ||
System.NullReferenceException: Object reference not set to an instance of an object. | ||
at OxfordV2.API.APICalls(CurrentQuery query) in C:\my-coding-projects\Oxford-App\OxfordV2\API.cs:line 351 | ||
In MainMenu() | ||
The user's input was read as: | ||
x | ||
Exit selected. |
Large diffs are not rendered by default.
Oops, something went wrong.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
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,57 @@ | ||
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 | ||
Ran senses using start. | ||
System.NullReferenceException: Object reference not set to an instance of an object. | ||
at OxfordV2.API.APICalls(CurrentQuery query) in C:\my-coding-projects\Oxford-App\OxfordV2\API.cs:line 360 | ||
In MainMenu() | ||
The user's input was read as: | ||
x | ||
Exit selected. |
Binary file not shown.
Binary file not shown.
Binary file not shown.