SaifRehman π» π π€ |
AreejEssa π» π€ |
HebaShimy π¨ π π€ |
---|
Contributions of any kind welcome!
> npm install -g ionic cordova
> git clone https://github.com/SaifRehman/watsonic.git
> ionic serve
- Watson Visual Recognition
- Watson Language Translator
- Watson Tone Analyzer
- Watson Conversation (Test Progress)
- Watson Discovery
- Watson Natural Language Understanding
- Watson Speech to Text
- Watson Text to Speech
- Watson Natural Language Classifier
- Watson Personality Insights
- Watson Knowledge Studio
- getVisualRecognitonDataByOnlyURL :- Classify the image given in the url
import { watsonVisualRecognition } from '../../watsonServices/watsonVisualRecognition/watsonVisualRecognition.service'
this.WatsonVisualRecognition.getVisualRecognitonDataByOnlyURL(this.url).subscribe((data) => {
console.log('data', data);
},
(error) => {
console.log(error)
});
- getVisualRecognitonForFacesDataByOnlyURL :- Classify the faces based on image given in URL
import { watsonVisualRecognition } from '../../watsonServices/watsonVisualRecognition/watsonVisualRecognition.service'
this.WatsonVisualRecognition.getVisualRecognitonForFacesDataByOnlyURL(this.url).subscribe((data) => {
console.log('data', data);
},
(error) => {
console.log(error)
});
- getVisualRecognitonDataByOnlyURLWithHighConfidenceOnly :- Get only confidence result
import { watsonVisualRecognition } from '../../watsonServices/watsonVisualRecognition/watsonVisualRecognition.service'
this.WatsonVisualRecognition.getVisualRecognitonDataByOnlyURLWithHighConfidenceOnly(this.url).subscribe((data) => {
console.log('data', data);
},
(error) => {
console.log(error)
});
- getListOfCustomCreatedClassifiers :- Get list of created classifiers
import { watsonVisualRecognition } from '../../watsonServices/watsonVisualRecognition/watsonVisualRecognition.service'
this.WatsonVisualRecognition.getListOfCustomCreatedClassifiers().subscribe((data) => {
console.log('data', data);
},
(error) => {
console.log(error)
});
- getClassifiersDetails :- Get detail of a classifier created
import { watsonVisualRecognition } from '../../watsonServices/watsonVisualRecognition/watsonVisualRecognition.service'
this.WatsonVisualRecognition.getClassifiersDetails(classifier).subscribe((data) => {
console.log('data', data);
},
(error) => {
console.log(error)
});
- deleteClassifiers :- Delete a created classifer
import { watsonVisualRecognition } from '../../watsonServices/watsonVisualRecognition/watsonVisualRecognition.service'
this.WatsonVisualRecognition.deleteClassifiers(classifier).subscribe((data) => {
console.log('data', data);
},
(error) => {
console.log(error)
});
- UI Example of Watson Visual Recognition
Language | Short Terms |
---|---|
Afrikaans | af |
Albanian | sq |
Arabic | ar |
Armenia | hy |
Azerbaijani | az |
Bashkir | ba |
Basque | eu |
Belarusian | be |
Bengali | bn |
Bosnian | bs |
Bulgarian | bg |
Central Khmer | km |
Chinese | zh |
Chuvash | cv |
Czech | cs |
Danish | da |
Dutch | nl |
English | en |
Esperanto | eo |
Estonian | et |
Finnish | fi |
French | fr |
Georgian | ka |
German | de |
Greek | el |
Gujarati | gu |
Haitian | ht |
Hebrew | he |
Hindi | hi |
Hungarian | hu |
Icelandic | is |
Indonesian | id |
Italian | it |
Japanese | ja |
Kazakh | kk |
Kirghiz | ky |
Korean | ko |
Kurdish | ku |
Latvian | lv |
Lithuanian | lt |
Malayalam | ml |
Mongolian | mn |
Norwegian Bokmal | nb |
Norwegian Nynorsk | nn |
Panjabi | pa |
Persian | fa |
Polish | pl |
Portuguese | pt |
Pushto | ps |
Romanian | ro |
Russian | ru |
Slovakian | sk |
Somali | so |
Spanish | es |
Swedish | sv |
Tamil | ta |
Telugu | te |
Traditional Chinese | zh-TW |
Turkish | tr |
Ukrainian | uk |
Urdu | ur |
Vietnamese | vi |
- WatsonTranslation :- Tranlate given text to a language specified
import { watsonTranslation } from '../../watsonServices/watsonTranslation/watsonTranslation.service'
this.WatsonTranslation.translateToALanguage('hello', 'en-es').subscribe((data) => {
console.log(data);
},
(error) => {
console.log(error)
})
- analyzeToneOnGivenText :- Analyze tone by given text
import { watsonToneAnalyzer } from '../../watsonServices/watsonToneAnalyzer/watsonToneAnalyzer.service'
this.WatsonToneAnalyzer.analyzeToneOnGivenText(text).subscribe((data) => {
console.log(data);
},
(error) => {
console.log(error)
})
- listWorkspace :- Get Workspaces
import { watsonConversation } from '../../watsonServices/watsonConversation/watsonConversation.service'
this.WatsonConversation.listWorkspace().subscribe((data) => {
console.log(data);
},
(error) => {
console.log(error)
})