PowerShell Module to interact with AYLIEN Text Analysis API - a package consisting of eight different Natural Language Processing, Information Retrieval and Machine Learning APIs that can be adapted to your processes and applications with relative ease
Pull request Compare This branch is 2 commits behind dfinke:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
samples
.gitattributes
.gitignore
Aylien.psm1
Get-AylienCredential.ps1
Invoke-ConceptExtraction.ps1
Invoke-EntityExtraction.ps1
Invoke-HashtagExtraction.ps1
Invoke-LanguageAnalysis.ps1
Invoke-SummaryExtraction.ps1
Invoke-TextAnalysis.ps1
README.md

README.md

PowerShell for Aylien

Is a PowerShell module wrapping the Aylien package, consisting of eight different Natural Language Processing, Information Retrieval and Machine Learning APIs Aylien Github repo that can be adapted to your processes and applications with relative ease.

Try Invoke-TextAnalysis

Import-Module .\Aylien.psm1

$env:AylienApplicationId  = '<Your Aylien Application Id>'
$env:AylienApplicationKey = '<Your Aylien Application Key>'

$text = $(
    'Have a nice day'
    'The glass is half empty'
    "Moody's downgrades credit rating"
)

$text | Invoke-TextAnalysis | Format-Table -AutoSize

Results

text                             subjectivity subjectivity_confidence polarity polarity_confidence
----                             ------------ ----------------------- -------- -------------------
Have a nice day                  subjective        0.9900886100760287 positive                0.75
The glass is half empty          subjective        0.7644409047525341 negative  0.9741158803478501
Moody's downgrades credit rating subjective        0.9999999997427047 negative  0.9963972429917335