Skip to content

Instantly share code, notes, and snippets.

@sivy
Forked from jrschifa/gist:4732179
Created February 7, 2013 22:50
Show Gist options
  • Save sivy/4734940 to your computer and use it in GitHub Desktop.
Save sivy/4734940 to your computer and use it in GitHub Desktop.
Proposed payload object
- payload
- total_score: int
- relevant_questions: array
- style
- reading_level: int (not currently returned)
- sentiment: int (not currently returned)
- formality: int (not currently returned)
- editorial_level: int (not currently returned)
- phrase
- value: string (not currently returned)??
- score: int (scores -> phrase_repeat -> score)
- density: int (phrase_occurrences)
- feedback: string (scores -> phrase_repeat -> comment)
- density_recommended: int (not currently returned)
- occurrences: int (not currently returned)??
- keyword
- value: array (content_results & not_content_results)
- score: int (scores -> keyword_repeat -> score)
- density: int (keywords_occurrences)
- feedback: string (scores -> keyword_repeat -> comment)
- used: array (content_results)
- not_used: array (not_content_results)
- density_recommended: int (not currently returned)
- phrases: array (keyword_phrases)
- word_length
- score: int (scores -> wordlength -> score)
- feedback: string (scores -> wordlength -> comment)
- length: int (avg_word_length)
- length_recommended: int (not currently returned)
- word_count
- score: int (scores -> wordcount -> score)
- feedback: string (score -> wordcount -> comment)
- count: int (wordcount)
- count_recommended: int (not currently returned)
- sentence_length
- score: int (scores -> avg_sentence_length -> score)
- feedback: string (scores -> avg_sentence_length -> comment)
- length: int (avg_sentence_length)
- length_recommended: int (not currently returned)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment