# ProWritingAidApi.TextApi
All URIs are relative to *https://localhost:5004*
Method | HTTP request | Description
------------- | ------------- | -------------
[**get**](TextApi.md#get) | **GET** /api/async/text/result/{taskId} | Tries to get the result of a request using the task id of the request
[**post**](TextApi.md#post) | **POST** /api/async/text | Analyses text and returns tags for it
# **get**
> AsyncResponseTextAnalysisResponse get(taskId)
Tries to get the result of a request using the task id of the request
### Example
```javascript
var ProWritingAidApi = require('pro_writing_aid_api');
var defaultClient = ProWritingAidApi.ApiClient.instance;
// Configure API key authorization: licenseCode
var licenseCode = defaultClient.authentications['licenseCode'];
licenseCode.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//licenseCode.apiKeyPrefix = 'Token';
var apiInstance = new ProWritingAidApi.TextApi();
var taskId = "taskId_example"; // String |
apiInstance.get(taskId).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**taskId** | **String**| |
### Return type
[**AsyncResponseTextAnalysisResponse**](AsyncResponseTextAnalysisResponse.md)
### Authorization
[licenseCode](../README.md#licenseCode)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json, text/json
# **post**
> AsyncResponseTextAnalysisResponse post(requestp)
Analyses a text document and returns tags for it
| Report Name | Status | Description |
|---|---|---|
| acronym | Live | Shows all the acronyms in your writing and highlights where they haven't been defined, or have been defined after the first occurrence, or have been defined multiple times.. |
| alliteration | Live | Highlights alliterations in your writing. Alliterations are a linguistic tool used by some writers for effect.. |
| allrepeats | Development | Highlights words and phrases that you've used repeatedly in your text. |
| allsentences | Live | Shows a visual representation of the sentences lengths of your writing. Try and vary the sentence lengths to maintain the interest of the reader.. |
| bully | Development | Highlights bullying and vulgar language in your text.. |
| cliche | Live | Scours your work for cliches and highlights them. Nobody likes to read a cliche so best to avoid them. Redundant expressions can also be removed as they say the same thing twice.. |
| closerepeat | Development | Highlights any words and phrases that you have repeated within a short space of writing. Try and think of something else to say.. |
| complex | Live | Highlights complex words in your writing. Words are broken down by number of syllables.. |
| consistency | Live | Highlights inconsistency in your text. Picking up inconsistencies in your text can be one of the hardest editing tasks.. |
| core | Development | Core findings. |
| coreplus | Development | Core findings. |
| corporate | Live | Highlights uses of corporate wording that can be simplified to clarify your document.. |
| dialog | Live | Highlights the dialogue tags in your text. Editors prefer minimal use of all dialogue tags (except for 'said').. |
| diction | Live | Provides a list of possible diction problems and suggestions on how you might revise them.. |
| dva | Live | Highlights diction problems, vague and abstract words in your text.. |
| eloquence | Live | Designed to help you develop your use of stylistic writing techniques such as alliteration, epistrophe, and hendiadys. The items in this report are not suggestions, just aids to help you along the way.. |
| grammar | Live | Checks your text for grammar errors and potential word mis-use.. |
| grammarplus | Live | Checks your text for grammar errors and potential word mis-use.. |
| homonym | Live | Helps you check for incorrect word usage. Homonyms are words which sound alike yet are spelled differently. For example: there, their and they're or raw and roar.. |
| house | Development | A blank report for you to create your own patterns in. Ideal for a house style. Go to the settings screen to set-up your own patterns. . |
| initial | Live | Highlights the initial pronouns in your text. Repetitive use of initial pronouns can lead to boring text, e.g. He did this. He did that. He did another thing.. |
| nlp | Development | Our NLP Predicate Words report allows you to easily identify the key modality or representation system of a piece of text. If you are analyzing a document written by someone else then this will give you an idea of their preferred representational system. This may help you tailor your writing in order to build rapport. If you don't know the modality of your reader then try to use a balance of words from each modality. This will broaden the appeal of your writing.. |
| overused | Live | Compares the frequency of commonly overused words in your text to published writing to give you an indication of where you may be over-using words.. |
| overusedonly | Live | Compares the frequency of commonly overused words in your text to published writing to give you an indication of where you may be over-using words.. |
| overview | Live | Gives you an overview of the key metrics for your document.. |
| pacing | Live | Identifies the slower paced parts of your manuscript, such as introspection and backstory so you can spread them out. Try not to have too many slower paced paragraphs in a row as this can get boring.. |
| paragraph_readability | Live | Shows you the relative readability of each paragraph in your text.. |
| passive | Live | Highlights areas where your writing style might be improved, such as use of passive and hidden verbs.. |
| phrases | Live | Provides a summary of all the phrases that you have repeated in your writing. Try and cut down on repeats.. |
| plagiarism | Live | Identifies parts of your text that occur in other documents. Scans millions of web-pages, books, and academic papers.. |
| plength | Live | A visual representation of the paragraph lengths of your writing. Avoid writing more than five or six sentences in a paragraph. Also try to avoid too many short paragraphs.. |
| preadability | Live | Provides a series of readability measures for your text so you can determine if it is suitable for your intended audience.. |
| readability | Live | Provides a series of readability measures for your text so you can determine if it is suitable for your intended audience.. |
| sentiment | Live | Shows a histogram of the sentiment in your story so you can monitor large swings.. |
| sentimentwords | Development | Highlights words that have a sentiment bias in your text, and grades them.. |
| seo | Development | Shows how yout text can be optimized to appear higher in Google rankings.. |
| slength | Live | Shows a visual representation of the sentences lengths of your writing. Try and vary the sentence lengths to maintain the interest of the reader.. |
| ssentences | Live | Shows sticky sentences in your writing. Sticky sentences slow your reader down; try to avoid them.. |
| ssentences_noglue | Live | Shows sticky sentences in your writing. Sticky sentences slow your reader down; try to avoid them.. |
| structure | Live | Highlights the key structure of a document such as sentences and paragraphs.. |
| thesaurus | Beta | Shows possible replacements for nouns, verbs, adjectives and adverbs.. |
| time | Live | Highlights any temporal references in your text so you can check for inconsistency and view the time-line of your text.. |
| topics | Live | Suggested topics that are related to the subject matter of your text.. |
| transition | Live | Highlights the transitions in your report. Transitions help organize ideas. Writing that is short on transitions is often hard to follow. Non-fiction writing that has under 1 transition per 4 sentences tends to be less understandable.. |
| vague | Live | Provides a list of words that may be considered vague or abstract. Consider strengthening them.. |
| wordcloud | Live | Shows you a word cloud of the most commonly occuring words in your text.. |
| wordsandphrases | Deprecated | Highlights any words and phrases that you have repeated within a short space of writing. Try and think of something else to say.. |
| wordsphrases | Live | Highlights any words and phrases that you have repeated within a short space of writing. Try and think of something else to say.. |