JASSv2
Classes
parser_unicoil_json.h File Reference

Parser for documents from the UniCOIL data in JSON format. More...

#include <charconv>
#include "ascii.h"
#include "parser.h"
#include "unicode.h"
Include dependency graph for parser_unicoil_json.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  JASS::parser_unicoil_json
 Parser for documents from the UniCOIL data in JSON format. More...
 

Detailed Description

Parser for documents from the UniCOIL data in JSON format.

Author
Andrew Trotman

A document has had much of the unnecessary stuff already removed and should look like this (i.e. a forward index):

"the": 94, "presence": 102, "of": 80, "communication": 147, "amid": 124, "scientific": 134, "minds": 108, "was": 71, "equally": 106, "important": 142, "to": 59, "success": 146, "manhattan": 162, "project": 116, "as": 34, "intellect": 135, ".": 63, "only": 98, "cloud": 117, "hanging": 80, "over": 62, "impressive": 112, "achievement": 112, "atomic": 149, "researchers": 94, "and": 48, "engineers": 101, "is": 35, "what": 82, "their": 78, "truly": 89, "meant": 84, ";": 58, "hundreds": 100, "thousands": 101, "innocent": 101, "lives": 80, "ob": 103, "##lite": 88, "##rated": 96, "[SEP]": 0, "amongst": 36, "scientists": 126, "why": 54, "?": 50, "about": 25, "so": 53, "a": 29, "importance": 95, "purpose": 45, "how": 27, "significant": 61, "in": 36, "for": 34, "believe": 49, "who": 42, "did": 68

{"importance": 95} means the term "importance" has an impact score of 95.