-
Notifications
You must be signed in to change notification settings - Fork 16
API Endpoints
PHP endpoints that must be ported to Flask (paths relative to /src/php in old code)
every PHP file in previous version is an endpoint; as far as I can tell, if it's not on this list, it's deprecated
params
- instance
- search (a JSON object of query params, multiple if there are dependencies)
- gov
- govtype
- dep
- deptype
- relation
- collection
- statistics
- phrases
- metadata
- timing
- id
- word
- class
returns JSON dictionary. Keys: part of speech. Values: array of objects with id, word and score for each result
used for: The "see similar words" popup in the word menu
example
{
"": [],
"Adjectives": [
{
"id": "122",
"score": "7",
"word": "nice"
},
{
"id": "43",
"score": "7",
"word": "sweet"
}
],
"Adverbs": [],
"Nouns": [
{
"id": "49",
"score": "15",
"word": "fun"
},
{
"id": "162",
"score": "12",
"word": "guy"
}
],
"Phrases": [
{
"score": "5",
"sequence_id": "128204",
"word": "looking cute"
},
{
"score": "4",
"sequence_id": "316",
"word": "fun loving"
}
],
"Synsets": [],
"Verbs": [
{
"id": "56",
"score": "16",
"word": "looking"
},
{
"id": "306",
"score": "5",
"word": "know"
}
]
}
fetch co-occurring words (one part of speech at a time)
params
- instance
- search
- gov
- govtype
- dep
- deptype
- relation
- collection
- statistics
- start
- limit
- metadata
- phrases
- pos
- timing
returns JSON-encoded list of frequent co-occurring words in the format:
[ {count: int,
diffprop_documents: float,
diffprop_sentences: float,
document_count: int,
id: int,
is_lemmatized: 0/1,
lemma: str,
word: str
}, ... ]
example
[
{
"count": "6",
"diffprop_documents": "-0.0356",
"diffprop_sentences": "0.0788",
"document_count": "6",
"id": "316",
"is_lemmatized": 0,
"lemma": "interested",
"word": "interested"
},
{
"count": "4",
"diffprop_documents": "0.0659",
"diffprop_sentences": "0.0722",
"document_count": "4",
"id": "2001",
"is_lemmatized": 0,
"lemma": "pic",
"word": "pic"
},
{
"count": "5",
"diffprop_documents": "-0.0513",
"diffprop_sentences": "0.0626",
"document_count": "5",
"id": "33",
"is_lemmatized": 0,
"lemma": "old",
"word": "old"
}
]
params
- instance
- gov
- govtype
- dep
- deptype
- relation
- collection
- statistics
- start
- limit
- metadata
- phrases
- timing
- clear
- query_id
returns
the id of the query (or nothing, if it's just an instruction to clear)
example
{"ok":true,"query_id":1816}
fetch all substructures for a single document (and full text, if requested)
params
- instance
- gov
- govtype
- dep
- deptype
- relation
- collection
- statistics
- phrases
- metadata
- timing
- id (document id)
- include_text (if 'true', fetches full text of document)
returns
metadata and hierarchy of all content elements (including words if requested)
example
{
"Seeker Gender": "Man",
"children": {
"": [
[
{
"id": "3705",
"name": "document"
}
]
],
"document": {
"3705": [
{
"id": "3706",
"name": "sentence"
},
{
"id": "3707",
"name": "sentence"
}
]
}
},
"city": "nyc",
"has_text": true,
"id": "3705",
"metadata": [
{
"document_id": "3705",
"format": "",
"has_value": "1",
"is_category": "1",
"name_is_displayed": "1",
"name_to_display": "Seeker Gender",
"parent_property_name": "",
"property_id": "1",
"property_name": "Seeker Gender",
"type": "string",
"unit_id": "3705",
"unit_name": "document",
"value": "Man",
"value_is_displayed": "1"
},
{
"document_id": "3705",
"format": "",
"has_value": "1",
"is_category": "1",
"name_is_displayed": "1",
"name_to_display": "Age of Seeker",
"parent_property_name": "",
"property_id": "2",
"property_name": "seekers_age",
"type": "number",
"unit_id": "3705",
"unit_name": "document",
"value": "25",
"value_is_displayed": "1"
},
{
"document_id": "3705",
"format": "",
"has_value": "1",
"is_category": "1",
"name_is_displayed": "1",
"name_to_display": "Age Group of Seeker",
"parent_property_name": "",
"property_id": "3",
"property_name": "seeker_age_group",
"type": "string",
"unit_id": "3705",
"unit_name": "document",
"value": "20s",
"value_is_displayed": "1"
},
{
"document_id": "3705",
"format": "",
"has_value": "1",
"is_category": "0",
"name_is_displayed": "1",
"name_to_display": "Title",
"parent_property_name": "",
"property_id": "4",
"property_name": "title",
"type": "string",
"unit_id": "3705",
"unit_name": "document",
"value": "spanish lady where u at - 25 (anywhere)",
"value_is_displayed": "1"
},
{
"document_id": "3705",
"format": "",
"has_value": "1",
"is_category": "1",
"name_is_displayed": "1",
"name_to_display": "City",
"parent_property_name": " ",
"property_id": "5",
"property_name": "city",
"type": "string",
"unit_id": "3705",
"unit_name": "document",
"value": "nyc",
"value_is_displayed": "1"
}
],
"seeker_age_group": "20s",
"seekers_age": "25",
"title": "spanish lady where u at - 25 (anywhere)",
"units": {
"document": {
"3705": {
"metadata": [
{
"document_id": "3705",
"format": "",
"has_value": "1",
"is_category": "1",
"name_is_displayed": "1",
"name_to_display": "Seeker Gender",
"parent_property_name": "",
"property_id": "1",
"property_name": "Seeker Gender",
"type": "string",
"unit_id": "3705",
"unit_name": "document",
"value": "Man",
"value_is_displayed": "1"
},
{
"document_id": "3705",
"format": "",
"has_value": "1",
"is_category": "1",
"name_is_displayed": "1",
"name_to_display": "Age of Seeker",
"parent_property_name": "",
"property_id": "2",
"property_name": "seekers_age",
"type": "number",
"unit_id": "3705",
"unit_name": "document",
"value": "25",
"value_is_displayed": "1"
},
{
"document_id": "3705",
"format": "",
"has_value": "1",
"is_category": "1",
"name_is_displayed": "1",
"name_to_display": "Age Group of Seeker",
"parent_property_name": "",
"property_id": "3",
"property_name": "seeker_age_group",
"type": "string",
"unit_id": "3705",
"unit_name": "document",
"value": "20s",
"value_is_displayed": "1"
},
{
"document_id": "3705",
"format": "",
"has_value": "1",
"is_category": "0",
"name_is_displayed": "1",
"name_to_display": "Title",
"parent_property_name": "",
"property_id": "4",
"property_name": "title",
"type": "string",
"unit_id": "3705",
"unit_name": "document",
"value": "spanish lady where u at - 25 (anywhere)",
"value_is_displayed": "1"
},
{
"document_id": "3705",
"format": "",
"has_value": "1",
"is_category": "1",
"name_is_displayed": "1",
"name_to_display": "City",
"parent_property_name": " ",
"property_id": "5",
"property_name": "city",
"type": "string",
"unit_id": "3705",
"unit_name": "document",
"value": "nyc",
"value_is_displayed": "1"
}
],
"unit_id": "3705",
"unit_name": "document"
}
},
"sentence": {
"3706": {
"document_id": "3705",
"metadata": [
{
"document_id": "3705",
"format": "",
"has_value": "1",
"is_category": "1",
"name_is_displayed": "0",
"name_to_display": "",
"parent_property_name": null,
"property_id": "7",
"property_name": "sentence_set",
"type": "string",
"unit_id": "3706",
"unit_name": "sentence",
"value": "14",
"value_is_displayed": "0"
},
{
"document_id": "3705",
"format": "",
"has_value": "1",
"is_category": "1",
"name_is_displayed": "0",
"name_to_display": "",
"parent_property_name": null,
"property_id": "8",
"property_name": "phrase_set",
"type": "string",
"unit_id": "3706",
"unit_name": "sentence",
"value": "12",
"value_is_displayed": "0"
},
{
"document_id": "3705",
"format": "",
"has_value": "1",
"is_category": "1",
"name_is_displayed": "0",
"name_to_display": "",
"parent_property_name": null,
"property_id": "8",
"property_name": "phrase_set",
"type": "string",
"unit_id": "3706",
"unit_name": "sentence",
"value": "13",
"value_is_displayed": "0"
},
{
"document_id": "3705",
"format": "",
"has_value": "1",
"is_category": "1",
"name_is_displayed": "0",
"name_to_display": "",
"parent_property_name": null,
"property_id": "8",
"property_name": "phrase_set",
"type": "string",
"unit_id": "3706",
"unit_name": "sentence",
"value": "15",
"value_is_displayed": "0"
}
],
"parent_id": "3705",
"parent_name": "document",
"sentence_id": "3706",
"unit_id": "3706",
"unit_name": "sentence",
"unit_number": "1",
"words": [
{
"space_after": " ",
"word": "wasup",
"word_id": "5250"
},
{
"space_after": " ",
"word": "ladys",
"word_id": "5260"
},
{
"space_after": "",
"word": ",",
"word_id": "20"
},
{
"space_after": " ",
"word": "im",
"word_id": "1123"
},
{
"space_after": " ",
"word": "jus",
"word_id": "5261"
},
{
"space_after": " ",
"word": "going",
"word_id": "158"
},
{
"space_after": " ",
"word": "to",
"word_id": "4"
},
{
"space_after": " ",
"word": "stay",
"word_id": "2046"
},
{
"space_after": " ",
"word": "simple",
"word_id": "45"
},
{
"space_after": " ",
"word": "looking",
"word_id": "56"
},
{
"space_after": " ",
"word": "for",
"word_id": "57"
},
{
"space_after": " ",
"word": "a",
"word_id": "2"
},
{
"space_after": " ",
"word": "nice",
"word_id": "122"
},
{
"space_after": " ",
"word": "spanish",
"word_id": "4613"
},
{
"space_after": " ",
"word": "g.f.",
"word_id": "5262"
},
{
"space_after": " ",
"word": "im",
"word_id": "2795"
},
{
"space_after": " ",
"word": "a",
"word_id": "2"
},
{
"space_after": " ",
"word": "fun",
"word_id": "49"
},
{
"space_after": " ",
"word": "loving",
"word_id": "1558"
},
{
"space_after": " ",
"word": "very",
"word_id": "62"
},
{
"space_after": " ",
"word": "cute",
"word_id": "42"
},
{
"space_after": " ",
"word": "white",
"word_id": "214"
},
{
"space_after": "",
"word": "male",
"word_id": "215"
},
{
"space_after": "",
"word": ",",
"word_id": "20"
},
{
"space_after": " ",
"word": "im",
"word_id": "1123"
},
{
"space_after": "",
"word": "tall",
"word_id": "247"
},
{
"space_after": "",
"word": ",",
"word_id": "20"
},
{
"space_after": " ",
"word": "sweet",
"word_id": "43"
},
{
"space_after": "",
"word": ",",
"word_id": "20"
},
{
"space_after": " ",
"word": "honest",
"word_id": "689"
},
{
"space_after": " ",
"word": "everything",
"word_id": "1526"
},
{
"space_after": " ",
"word": "a",
"word_id": "2"
},
{
"space_after": " ",
"word": "good",
"word_id": "270"
},
{
"space_after": " ",
"word": "man",
"word_id": "34"
},
{
"space_after": " ",
"word": "is",
"word_id": "27"
},
{
"space_after": " ",
"word": "i",
"word_id": "108"
},
{
"space_after": "",
"word": "am",
"word_id": "1415"
},
{
"space_after": "",
"word": ".",
"word_id": "8"
}
]
},
"3707": {
"document_id": "3705",
"metadata": [],
"parent_id": "3705",
"parent_name": "document",
"sentence_id": "3707",
"unit_id": "3707",
"unit_name": "sentence",
"unit_number": "2",
"words": [
{
"space_after": " ",
"word": "i",
"word_id": "892"
},
{
"space_after": " ",
"word": "have",
"word_id": "280"
},
{
"space_after": " ",
"word": "pix",
"word_id": "5251"
},
{
"space_after": " ",
"word": "jus",
"word_id": "5261"
},
{
"space_after": " ",
"word": "email",
"word_id": "713"
},
{
"space_after": " ",
"word": "me",
"word_id": "25"
},
{
"space_after": " ",
"word": "and",
"word_id": "48"
},
{
"space_after": " ",
"word": "then",
"word_id": "128"
},
{
"space_after": " ",
"word": "we",
"word_id": "131"
},
{
"space_after": " ",
"word": "can",
"word_id": "132"
},
{
"space_after": " ",
"word": "chat",
"word_id": "2280"
},
{
"space_after": " ",
"word": "to",
"word_id": "4"
},
{
"space_after": " ",
"word": "see",
"word_id": "188"
},
{
"space_after": "<br>",
"word": "wasup",
"word_id": "5250"
}
]
}
}
}
}
example
[
{
"has_text": false,
"units": [],
"children": [],
"id": "1",
"metadata": [
{
"unit_id": "1",
"unit_name": "document",
"property_name": "city",
"property_id": "5",
"value": "london",
"document_id": "1",
"parent_property_name": " ",
"value_is_displayed": "1",
"name_is_displayed": "1",
"name_to_display": "City",
"has_value": "1",
"type": "string",
"format": "",
"is_category": "1"
},
{
"unit_id": "1",
"unit_name": "document",
"property_name": "Seeker Gender",
"property_id": "1",
"value": "Man",
"document_id": "1",
"parent_property_name": "",
"value_is_displayed": "1",
"name_is_displayed": "1",
"name_to_display": "Seeker Gender",
"has_value": "1",
"type": "string",
"format": "",
"is_category": "1"
},
{
"unit_id": "1",
"unit_name": "document",
"property_name": "seekers_age",
"property_id": "2",
"value": "28",
"document_id": "1",
"parent_property_name": "",
"value_is_displayed": "1",
"name_is_displayed": "1",
"name_to_display": "Age of Seeker",
"has_value": "1",
"type": "number",
"format": "",
"is_category": "1"
},
{
"unit_id": "1",
"unit_name": "document",
"property_name": "seeker_age_group",
"property_id": "3",
"value": "20s",
"document_id": "1",
"parent_property_name": "",
"value_is_displayed": "1",
"name_is_displayed": "1",
"name_to_display": "Age Group of Seeker",
"has_value": "1",
"type": "string",
"format": "",
"is_category": "1"
},
{
"unit_id": "1",
"unit_name": "document",
"property_name": "title",
"property_id": "4",
"value": "A simple man with a simple dream - 28 (London)",
"document_id": "1",
"parent_property_name": "",
"value_is_displayed": "1",
"name_is_displayed": "1",
"name_to_display": "Title",
"has_value": "1",
"type": "string",
"format": "",
"is_category": "0"
}
],
"city": "london",
"Seeker Gender": "Man",
"seekers_age": "28",
"seeker_age_group": "20s",
"title": "A simple man with a simple dream - 28 (London)",
"matches": "0"
},
{
"has_text": false,
"units": [],
"children": [],
"id": "18",
"metadata": [
{
"unit_id": "18",
"unit_name": "document",
"property_name": "city",
"property_id": "5",
"value": "london",
"document_id": "18",
"parent_property_name": " ",
"value_is_displayed": "1",
"name_is_displayed": "1",
"name_to_display": "City",
"has_value": "1",
"type": "string",
"format": "",
"is_category": "1"
},
{
"unit_id": "18",
"unit_name": "document",
"property_name": "Seeker Gender",
"property_id": "1",
"value": "Man",
"document_id": "18",
"parent_property_name": "",
"value_is_displayed": "1",
"name_is_displayed": "1",
"name_to_display": "Seeker Gender",
"has_value": "1",
"type": "string",
"format": "",
"is_category": "1"
},
{
"unit_id": "18",
"unit_name": "document",
"property_name": "seekers_age",
"property_id": "2",
"value": "76",
"document_id": "18",
"parent_property_name": "",
"value_is_displayed": "1",
"name_is_displayed": "1",
"name_to_display": "Age of Seeker",
"has_value": "1",
"type": "number",
"format": "",
"is_category": "1"
},
{
"unit_id": "18",
"unit_name": "document",
"property_name": "seeker_age_group",
"property_id": "3",
"value": "70s",
"document_id": "18",
"parent_property_name": "",
"value_is_displayed": "1",
"name_is_displayed": "1",
"name_to_display": "Age Group of Seeker",
"has_value": "1",
"type": "string",
"format": "",
"is_category": "1"
},
{
"unit_id": "18",
"unit_name": "document",
"property_name": "title",
"property_id": "4",
"value": "Motivational encouragement. - 76 (London)",
"document_id": "18",
"parent_property_name": "",
"value_is_displayed": "1",
"name_is_displayed": "1",
"name_to_display": "Title",
"has_value": "1",
"type": "string",
"format": "",
"is_category": "0"
}
],
"city": "london",
"Seeker Gender": "Man",
"seekers_age": "76",
"seeker_age_group": "70s",
"title": "Motivational encouragement. - 76 (London)",
"matches": "0"
},
]
example
[
{
"count": 1,
"document_count": 1,
"propertyName": "title",
"text": "Dominant or fetish women please - 39 (London Berks Surrey)",
"leaf": true,
"value": "Dominant or fetish women please - 39 (London Berks Surrey)"
},
{
"count": 1,
"document_count": 1,
"propertyName": "title",
"text": "Femdom needed - 36 (London Berks)",
"leaf": true,
"value": "Femdom needed - 36 (London Berks)"
},
{
"count": 1,
"document_count": 1,
"propertyName": "title",
"text": "Looking for an oriental female - 35 (North London)",
"leaf": true,
"value": "Looking for an oriental female - 35 (North London)"
},
{
"count": 1,
"document_count": 1,
"propertyName": "title",
"text": "Older wealthy man for Younger woman - 100%Genuine - 41 (Central London)",
"leaf": true,
"value": "Older wealthy man for Younger woman - 100%Genuine - 41 (Central London)"
},
{
"count": 1,
"document_count": 1,
"propertyName": "title",
"text": "American Seeking Englishman - 39 (USA)",
"leaf": true,
"value": "American Seeking Englishman - 39 (USA)"
},
{
"count": 2,
"document_count": 1,
"propertyName": "seekers_age",
"text": 40,
"leaf": true,
"value": 40
},
{
"count": 8,
"document_count": 8,
"propertyName": "Seeker Gender",
"text": "Man",
"leaf": true,
"value": "Man"
},
{
"count": 6,
"document_count": 5,
"propertyName": "Seeker Gender",
"text": "Woman",
"leaf": true,
"value": "Woman"
},
{
"count": 8,
"document_count": 8,
"propertyName": "city",
"text": "london",
"leaf": true,
"value": "london"
},
{
"count": 6,
"document_count": 5,
"propertyName": "city",
"text": "nyc",
"leaf": true,
"value": "nyc"
},
{
"count": 1,
"document_count": 1,
"propertyName": "phrase_set",
"text": "{looks}",
"leaf": true,
"value": 13
},
{
"count": 1,
"document_count": 1,
"propertyName": "phrase_set",
"text": "{personality}",
"leaf": true,
"value": 15
},
{
"count": 1,
"document_count": 1,
"propertyName": "sentence_set",
"text": "{looking for}",
"leaf": true,
"value": 14
}
]
params
- instance
- unit = 'sentence'
returns
Outputs a JSON-encoded list of metadata columns for the Document Browser in the format:
[ { 'propertyName':metadata1Name,
'nameToDisplay':metadata1NameToDisplay,
'type':metadata1Type }, ... ]
example
[
{
"propertyName": "Seeker Gender",
"nameToDisplay": "Seeker Gender",
"valueIsDisplayed": "1",
"type": "string"
},
{
"propertyName": "seekers_age",
"nameToDisplay": "Age of Seeker",
"valueIsDisplayed": "1",
"type": "number"
},
{
"propertyName": "seeker_age_group",
"nameToDisplay": "Age Group of Seeker",
"valueIsDisplayed": "1",
"type": "string"
},
{
"propertyName": "title",
"nameToDisplay": "Title",
"valueIsDisplayed": "1",
"type": "string"
},
{
"propertyName": "city",
"nameToDisplay": "City",
"valueIsDisplayed": "1",
"type": "string"
}
]
example
{
"gov": {
"agent subj nsubj xsubj csubj nsubjpass csubjpass": {
"count": 6,
"children": {
"you": 2,
"I": 2,
"disease": 1,
"they": 1
}
},
"cop": {
"count": 6,
"children": {
"am": 2,
"'re": 1,
"be": 1,
"'m": 1,
"are": 1
}
},
"conj": {
"count": 15,
"children": {
"funny": 2,
"fit": 2,
"sweet": 1,
"down": 1,
"Put": 1,
"curvy": 1,
"intelligent": 1,
"smart": 1,
"fun": 1,
"to": 1,
"affectionate": 1,
"between": 1,
"ready": 1
}
},
"prep": {
"count": 4,
"children": {
"me": 2,
"earth": 1,
"ages": 1
}
},
"amod": {
"count": 5,
"children": {
"white": 1,
"single": 1,
"nice": 1,
"busy": 1,
"sane": 1
}
},
"amod advmod acomp": {
"count": 4,
"children": {
"very": 1,
"down": 1,
"extremely": 1,
"really": 1
}
},
"xcomp": {
"count": 1,
"children": {
"make": 1
}
},
"aux": {
"count": 1,
"children": {
"should": 1
}
}
},
"dep": {
"amod": {
"count": 32,
"children": {
"guy": 4,
"female": 5,
"reliable": 3,
"fun": 2,
"girl": 2,
"student": 1,
"sweet": 1,
"swm": 1,
"available": 1,
"fit": 1,
"african": 1,
"bio": 1,
"lady": 1,
"midtown": 1,
"white": 1,
"age": 1,
"Blonde": 1,
"quirky": 1,
"cuddly": 1,
"good": 1,
"look\\/feeling": 1
}
},
"advcl": {
"count": 3,
"children": {
"traveled": 2,
"yours": 1
}
},
"amod advmod acomp": {
"count": 2,
"children": {
"considered": 2
}
},
"conj": {
"count": 7,
"children": {
"Cute": 2,
"interesting": 1,
"short": 1,
"free": 1,
"outgoing": 1,
"pretty": 1
}
},
"ccomp": {
"count": 1,
"children": {
"think": 1
}
},
"xcomp": {
"count": 2,
"children": {
"like": 1,
"smart": 1
}
}
},
"search": "52"
}
example
{
"children": [
{
"children": [
{
"count": 1,
"document_count": 1,
"propertyName": "title",
"text": "Is there a single women on this site that IS genuine -_- - 26 (London)",
"leaf": true,
"value": "Is there a single women on this site that IS genuine -_- - 26 (London)"
},
{
"count": 1,
"document_count": 1,
"propertyName": "title",
"text": "SEEKING FOR BRUNETTE TO HANG OUT WITH ( GENUINE ADD) - 23 (LONDON)",
"leaf": true,
"value": "SEEKING FOR BRUNETTE TO HANG OUT WITH ( GENUINE ADD) - 23 (LONDON)"
},
{
"count": 1,
"document_count": 1,
"propertyName": "title",
"text": "Young man for old women)) - 29 (Queensboroplaza)",
"leaf": true,
"value": "Young man for old women)) - 29 (Queensboroplaza)"
},
{
"count": 1,
"document_count": 1,
"propertyName": "title",
"text": "New love - 26 (Brooklyn)",
"leaf": true,
"value": "New love - 26 (Brooklyn)"
},
{
"count": 1,
"document_count": 1,
"propertyName": "title",
"text": "Sbf for interracial dating",
"leaf": true,
"value": "Sbf for interracial dating"
},
{
"count": 1,
"document_count": 1,
"propertyName": "title",
"text": "looking for a interracial ltr - 22",
"leaf": true,
"value": "looking for a interracial ltr - 22"
},
{
"count": 1,
"document_count": 1,
"propertyName": "title",
"text": "Looking - 21 (Staten Island)",
"leaf": true,
"value": "Looking - 21 (Staten Island)"
},
{
"count": 1,
"document_count": 1,
"propertyName": "title",
"text": "Renaissance Man - 21 (NYC)",
"leaf": true,
"value": "Renaissance Man - 21 (NYC)"
},
{
"count": 1,
"document_count": 1,
"propertyName": "title",
"text": "Very Attractive SBF Seeks Attractive SWM - 28",
"leaf": true,
"value": "Very Attractive SBF Seeks Attractive SWM - 28"
}
],
"count": 16,
"document_count": 16,
"text": "Title",
"propertyName": "title",
"displayName": "Title",
"property_id": "4",
"type": "string"
},
{
"children": [
{
"count": 16,
"document_count": 16,
"propertyName": "seeker_age_group",
"text": "20s",
"leaf": true,
"value": "20s"
}
],
"count": 16,
"document_count": 16,
"text": "Age Group of Seeker",
"propertyName": "seeker_age_group",
"displayName": "Age Group of Seeker",
"property_id": "3",
"type": "string"
}
]
}
example
[
{
"sequence_id": "216293",
"sentence_id": "5258",
"document_id": "5256",
"start_position": "18",
"id": "216293",
"sequence": "slim SBF",
"lemmatized": "0",
"has_function_words": "0",
"all_function_words": "0",
"length": "2",
"sentence_count": "1",
"document_count": "1"
},
{
"sequence_id": "216294",
"sentence_id": "5258",
"document_id": "5256",
"start_position": "18",
"id": "216294",
"sequence": "slim sbf",
"lemmatized": "1",
"has_function_words": "0",
"all_function_words": "0",
"length": "2",
"sentence_count": "1",
"document_count": "1"
},
{
"sequence_id": "216295",
"sentence_id": "5258",
"document_id": "5256",
"start_position": "18",
"id": "216295",
"sequence": "slim SBF will",
"lemmatized": "0",
"has_function_words": "1",
"all_function_words": "0",
"length": "3",
"sentence_count": "1",
"document_count": "1"
},
{
"sequence_id": "216296",
"sentence_id": "5258",
"document_id": "5256",
"start_position": "18",
"id": "216296",
"sequence": "slim sbf will",
"lemmatized": "1",
"has_function_words": "1",
"all_function_words": "0",
"length": "3",
"sentence_count": "1",
"document_count": "1"
},
{
"sequence_id": "216297",
"sentence_id": "5258",
"document_id": "5256",
"start_position": "18",
"id": "216297",
"sequence": "slim SBF will do",
"lemmatized": "0",
"has_function_words": "1",
"all_function_words": "0",
"length": "4",
"sentence_count": "1",
"document_count": "1"
},
{
"sequence_id": "216298",
"sentence_id": "5258",
"document_id": "5256",
"start_position": "18",
"id": "216298",
"sequence": "slim sbf will do",
"lemmatized": "1",
"has_function_words": "1",
"all_function_words": "0",
"length": "4",
"sentence_count": "1",
"document_count": "1"
}
]
example
[
{
"id": "15",
"text": "{personality}",
"sentence_count": "586",
"document_count": "439",
"class": "phrase-set"
},
{
"name_to_display": "Seeker Gender",
"property_name": "Seeker Gender",
"value": "Woman",
"class": "metadata",
"sentence_count": "514",
"document_count": "514",
"text": "seeker gender: Woman"
},
{
"name_to_display": "City",
"property_name": "city",
"value": "nyc",
"class": "metadata",
"sentence_count": "477",
"document_count": "477",
"text": "city: nyc"
},
{
"name_to_display": "City",
"property_name": "city",
"value": "london",
"class": "metadata",
"sentence_count": "464",
"document_count": "464",
"text": "city: london"
},
{
"name_to_display": "Seeker Gender",
"property_name": "Seeker Gender",
"value": "Man",
"class": "metadata",
"sentence_count": "427",
"document_count": "427",
"text": "seeker gender: Man"
},
{
"name_to_display": "Age Group of Seeker",
"property_name": "seeker_age_group",
"value": "20s",
"class": "metadata",
"sentence_count": "335",
"document_count": "335",
"text": "age group of seeker: 20s"
}
{
"name_to_display": "Age Group of Seeker",
"property_name": "seeker_age_group",
"value": "70s",
"class": "metadata",
"sentence_count": "3",
"document_count": "3",
"text": "age group of seeker: 70s"
}
]
example
{
"metadata": {
"title": {
"children": [
{
"count": 1,
"document_count": 1,
"propertyName": "title",
"text": "spanish lady where u at - 25 (anywhere)",
"leaf": true,
"value": "spanish lady where u at - 25 (anywhere)"
}
],
"count": 1,
"document_count": 1,
"text": "Title",
"propertyName": "title",
"displayName": "Title",
"property_id": "4",
"type": "string"
},
"seeker_age_group": {
"children": [
{
"count": 1,
"document_count": 1,
"propertyName": "seeker_age_group",
"text": "20s",
"leaf": true,
"value": "20s"
}
],
"count": 1,
"document_count": 1,
"text": "Age Group of Seeker",
"propertyName": "seeker_age_group",
"displayName": "Age Group of Seeker",
"property_id": "3",
"type": "string"
},
"seekers_age": {
"children": [
{
"count": 1,
"document_count": 1,
"propertyName": "seekers_age",
"text": 25,
"leaf": true,
"value": 25
}
],
"count": 1,
"document_count": 1,
"text": "Age of Seeker",
"propertyName": "seekers_age",
"displayName": "Age of Seeker",
"property_id": "2",
"type": "number"
},
"Seeker Gender": {
"children": [
{
"count": 1,
"document_count": 1,
"propertyName": "Seeker Gender",
"text": "Man",
"leaf": true,
"value": "Man"
}
],
"count": 1,
"document_count": 1,
"text": "Seeker Gender",
"propertyName": "Seeker Gender",
"displayName": "Seeker Gender",
"property_id": "1",
"type": "string"
},
"city": {
"children": [
{
"count": 1,
"document_count": 1,
"propertyName": "city",
"text": "nyc",
"leaf": true,
"value": "nyc"
}
],
"count": 1,
"document_count": 1,
"text": "City",
"propertyName": "city",
"displayName": "City",
"property_id": "5",
"type": "string"
}
},
"sentence": "i have pix jus email me and then we can chat to see wasup\n",
"words": [
{
"word": "i",
"word_id": "892",
"space_after": " "
},
{
"word": "have",
"word_id": "280",
"space_after": " "
},
{
"word": "pix",
"word_id": "5251",
"space_after": " "
},
{
"word": "jus",
"word_id": "5261",
"space_after": " "
},
{
"word": "email",
"word_id": "713",
"space_after": " "
},
{
"word": "me",
"word_id": "25",
"space_after": " "
},
{
"word": "and",
"word_id": "48",
"space_after": " "
},
{
"word": "then",
"word_id": "128",
"space_after": " "
},
{
"word": "we",
"word_id": "131",
"space_after": " "
},
{
"word": "can",
"word_id": "132",
"space_after": " "
},
{
"word": "chat",
"word_id": "2280",
"space_after": " "
},
{
"word": "to",
"word_id": "4",
"space_after": " "
},
{
"word": "see",
"word_id": "188",
"space_after": " "
},
{
"word": "wasup",
"word_id": "5250",
"space_after": "<br>"
}
],
"sentence_id": "3707",
"document_id": "3705"
}
example
{
"text": "",
"id": 0,
"children": [
{
"text": "{looks}",
"id": "13",
"date": "2013-10-22 23:50:47",
"type": "phrase",
"phrases": [
"cute",
"lovely",
"Handsome",
"fit",
"good looking",
"attractive",
"slim",
"athletic",
"pretty",
"curvy",
"Beautiful",
"tall dark handsome"
],
"sentence_count": "413",
"document_count": "342",
"children": []
},
{
"text": "{personality}",
"id": "15",
"date": "2013-10-22 23:54:35",
"type": "phrase",
"phrases": [
"caring",
"fun",
"well",
"friendly",
"down to earth",
"outgoing",
"intelligent",
"loyal",
"discreet",
"sense of humor",
"sense of humour",
"Kind",
"affectionate",
"polite",
"witty",
"well-educated"
],
"sentence_count": "586",
"document_count": "439",
"children": []
},
{
"text": "{nationality}",
"id": "19",
"date": "2014-04-17 15:20:47",
"type": "phrase",
"phrases": [
"Russian",
"French",
"California"
],
"sentence_count": "12",
"document_count": "10",
"children": [
{
"text": "{states}",
"id": "20",
"date": "2014-04-17 15:34:16",
"type": "phrase",
"phrases": [
"California"
],
"sentence_count": "2",
"document_count": "2",
"children": []
}
]
}
],
"root": true
}
example
{"error":"no-error","username":"test"}
example
{
"counts": [
{
"sentence_id": [
"3707"
],
"document_id": [
"3705"
],
"string__city": [
"nyc"
],
"string__Seeker Gender": [
"Man"
],
"number__seekers_age": [
"25"
],
"string__seeker_age_group": [
"20s"
],
"string__title": [
"spanish lady where u at - 25 (anywhere)"
],
"sentences": [
{
"string__sentence_set": "14",
"string__phrase_set": "12",
"string__title": "spanish lady where u at - 25 (anywhere)",
"string__seeker_age_group": "20s",
"number__seekers_age": "25",
"string__Seeker Gender": "Man",
"string__city": "nyc",
"document_id": "3705",
"sentence_id": "3706"
},
{
"string__sentence_set": "14",
"string__phrase_set": "13",
"string__title": "spanish lady where u at - 25 (anywhere)",
"string__seeker_age_group": "20s",
"number__seekers_age": "25",
"string__Seeker Gender": "Man",
"string__city": "nyc",
"document_id": "3705",
"sentence_id": "3706"
},
{
"string__sentence_set": "14",
"string__phrase_set": "15",
"string__title": "spanish lady where u at - 25 (anywhere)",
"string__seeker_age_group": "20s",
"number__seekers_age": "25",
"string__Seeker Gender": "Man",
"string__city": "nyc",
"document_id": "3705",
"sentence_id": "3706"
},
{
"string__title": "spanish lady where u at - 25 (anywhere)",
"string__seeker_age_group": "20s",
"number__seekers_age": "25",
"string__Seeker Gender": "Man",
"string__city": "nyc",
"document_id": "3705",
"sentence_id": "3707"
}
],
"documents": [],
"query": {
"gov": "EMAIL"
}
}
],
"for_normalization": {
"city": {
"children": [
{
"text": "london",
"count": "2365",
"leaf": true,
"document_count": "464",
"propertyName": "city",
"value": "london"
},
{
"text": "nyc",
"count": "2440",
"leaf": true,
"document_count": "477",
"propertyName": "city",
"value": "nyc"
}
],
"count": 4805,
"document_count": 941,
"sentence_count": 0,
"text": "City",
"propertyName": "city",
"displayName": "City",
"property_id": "5",
"type": "string"
},
"Seeker Gender": {
"children": [
{
"text": "Man",
"count": "2033",
"leaf": true,
"document_count": "427",
"propertyName": "Seeker Gender",
"value": "Man"
},
{
"text": "Woman",
"count": "2772",
"leaf": true,
"document_count": "514",
"propertyName": "Seeker Gender",
"value": "Woman"
}
],
"count": 4805,
"document_count": 941,
"sentence_count": 0,
"text": "Seeker Gender",
"propertyName": "Seeker Gender",
"displayName": "Seeker Gender",
"property_id": "1",
"type": "string"
},
"seekers_age": {
"children": [
{
"text": "18",
"count": "41",
"leaf": true,
"document_count": "8",
"propertyName": "seekers_age",
"value": "18"
},
{
"text": "19",
"count": "62",
"leaf": true,
"document_count": "13",
"propertyName": "seekers_age",
"value": "19"
},
{
"text": "20",
"count": "187",
"leaf": true,
"document_count": "29",
"propertyName": "seekers_age",
"value": "20"
}
],
"count": 4805,
"document_count": 941,
"sentence_count": 0,
"text": "Age of Seeker",
"propertyName": "seekers_age",
"displayName": "Age of Seeker",
"property_id": "2",
"type": "number"
},
}
}
example
{
"concordance": {
"num": 132,
"docs": 0,
"matches": [
{
"number": "5",
"document": "2554",
"id": "2559",
"left": "Send me an ",
"right": " ",
"match": "email"
},
{
"number": "4",
"document": "5710",
"id": "5714",
"left": "Please respond with a ",
"right": "address so we can respond to each other off cl.",
"match": "email"
}
],
"lefts": [
{
"id": "81",
"sentence": [
"looking",
"still",
"m",
"I",
"here",
"still",
"is",
"ad",
"this",
"If"
]
}
],
"rights": [
{
"id": "81",
"sentence": [
"me"
]
}
]
},
"query": "EMAIL"
}