# 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 NameStatusDescription
acronymLiveShows 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..
alliterationLiveHighlights alliterations in your writing. Alliterations are a linguistic tool used by some writers for effect..
allrepeatsDevelopmentHighlights words and phrases that you've used repeatedly in your text.
allsentencesLiveShows a visual representation of the sentences lengths of your writing. Try and vary the sentence lengths to maintain the interest of the reader..
bullyDevelopmentHighlights bullying and vulgar language in your text..
clicheLiveScours 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..
closerepeatDevelopmentHighlights any words and phrases that you have repeated within a short space of writing. Try and think of something else to say..
complexLiveHighlights complex words in your writing. Words are broken down by number of syllables..
consistencyLiveHighlights inconsistency in your text. Picking up inconsistencies in your text can be one of the hardest editing tasks..
coreDevelopmentCore findings.
coreplusDevelopmentCore findings.
corporateLiveHighlights uses of corporate wording that can be simplified to clarify your document..
dialogLiveHighlights the dialogue tags in your text. Editors prefer minimal use of all dialogue tags (except for 'said')..
dictionLiveProvides a list of possible diction problems and suggestions on how you might revise them..
dvaLiveHighlights diction problems, vague and abstract words in your text..
eloquenceLiveDesigned 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..
grammarLiveChecks your text for grammar errors and potential word mis-use..
grammarplusLiveChecks your text for grammar errors and potential word mis-use..
homonymLiveHelps 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..
houseDevelopmentA 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. .
initialLiveHighlights 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..
nlpDevelopmentOur 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..
overusedLiveCompares 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..
overusedonlyLiveCompares 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..
overviewLiveGives you an overview of the key metrics for your document..
pacingLiveIdentifies 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_readabilityLiveShows you the relative readability of each paragraph in your text..
passiveLiveHighlights areas where your writing style might be improved, such as use of passive and hidden verbs..
phrasesLiveProvides a summary of all the phrases that you have repeated in your writing. Try and cut down on repeats..
plagiarismLiveIdentifies parts of your text that occur in other documents. Scans millions of web-pages, books, and academic papers..
plengthLiveA 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..
preadabilityLiveProvides a series of readability measures for your text so you can determine if it is suitable for your intended audience..
readabilityLiveProvides a series of readability measures for your text so you can determine if it is suitable for your intended audience..
sentimentLiveShows a histogram of the sentiment in your story so you can monitor large swings..
sentimentwordsDevelopmentHighlights words that have a sentiment bias in your text, and grades them..
seoDevelopmentShows how yout text can be optimized to appear higher in Google rankings..
slengthLiveShows a visual representation of the sentences lengths of your writing. Try and vary the sentence lengths to maintain the interest of the reader..
ssentencesLiveShows sticky sentences in your writing. Sticky sentences slow your reader down; try to avoid them..
ssentences_noglueLiveShows sticky sentences in your writing. Sticky sentences slow your reader down; try to avoid them..
structureLiveHighlights the key structure of a document such as sentences and paragraphs..
thesaurusBetaShows possible replacements for nouns, verbs, adjectives and adverbs..
timeLiveHighlights any temporal references in your text so you can check for inconsistency and view the time-line of your text..
topicsLiveSuggested topics that are related to the subject matter of your text..
transitionLiveHighlights 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..
vagueLiveProvides a list of words that may be considered vague or abstract. Consider strengthening them..
wordcloudLiveShows you a word cloud of the most commonly occuring words in your text..
wordsandphrasesDeprecatedHighlights any words and phrases that you have repeated within a short space of writing. Try and think of something else to say..
wordsphrasesLiveHighlights any words and phrases that you have repeated within a short space of writing. Try and think of something else to say..
### 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 requestp = new ProWritingAidApi.TextAnalysisRequest(); // TextAnalysisRequest | apiInstance.post(requestp).then(function(data) { console.log('API called successfully. Returned data: ' + data); }, function(error) { console.error(error); }); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **requestp** | [**TextAnalysisRequest**](TextAnalysisRequest.md)| | ### Return type [**AsyncResponseTextAnalysisResponse**](AsyncResponseTextAnalysisResponse.md) ### Authorization [licenseCode](../README.md#licenseCode) ### HTTP request headers - **Content-Type**: application/json, text/json, application/x-www-form-urlencoded - **Accept**: application/json, text/json