From 7e827e47efc6bdd238045d06a099e275fae2d9da Mon Sep 17 00:00:00 2001 From: David Paz Date: Thu, 8 Jun 2017 12:28:36 +0200 Subject: [PATCH 1/2] moved generated data to data subpackage --- Makefile | 3 +- common.go | 22 +- alias.go => data/alias.go | 6 +- data/content.go | 568 + documentation.go => data/documentation.go | 4 +- extension.go => data/extension.go | 6 +- filename.go => data/filename.go | 4 +- frequencies.go => data/frequencies.go | 296636 +++++++-------- interpreter.go => data/interpreter.go | 4 +- data/type.go | 459 + vendor.go => data/vendor.go | 4 +- internal/code-generator/assets/alias.go.tmpl | 6 +- .../code-generator/assets/content.go.tmpl | 14 +- .../assets/documentation.go.tmpl | 4 +- .../code-generator/assets/extension.go.tmpl | 6 +- .../code-generator/assets/filename.go.tmpl | 4 +- .../code-generator/assets/frequencies.go.tmpl | 18 +- .../code-generator/assets/interpreter.go.tmpl | 4 +- internal/code-generator/assets/type.go.tmpl | 4 +- internal/code-generator/assets/vendor.go.tmpl | 4 +- .../generator/test_files/alias.gold | 6 +- .../generator/test_files/content.gold | 4 +- .../generator/test_files/documentation.gold | 4 +- .../generator/test_files/extension.gold | 6 +- .../generator/test_files/filename.gold | 4 +- .../generator/test_files/frequencies.gold | 296636 +++++++-------- .../generator/test_files/interpreter.gold | 4 +- .../generator/test_files/type.gold | 906 +- .../generator/test_files/vendor.gold | 4 +- internal/code-generator/generator/types.go | 16 +- internal/code-generator/main.go | 18 +- type.go | 459 - utils.go | 6 +- 33 files changed, 298216 insertions(+), 297637 deletions(-) rename alias.go => data/alias.go (99%) create mode 100644 data/content.go rename documentation.go => data/documentation.go (93%) rename extension.go => data/extension.go (99%) rename filename.go => data/filename.go (99%) rename frequencies.go => data/frequencies.go (51%) rename interpreter.go => data/interpreter.go (97%) create mode 100644 data/type.go rename vendor.go => data/vendor.go (99%) delete mode 100644 type.go diff --git a/Makefile b/Makefile index 9911f07..699e34a 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,8 @@ test: $(LINGUIST_PATH) go test -v ./... code-generate: $(LINGUIST_PATH) + mkdir -p data go run internal/code-generator/main.go clean: - rm -rf $(LINGUIST_PATH) \ No newline at end of file + rm -rf $(LINGUIST_PATH) diff --git a/common.go b/common.go index b9ecfb3..5ae6281 100644 --- a/common.go +++ b/common.go @@ -6,6 +6,8 @@ import ( "path/filepath" "regexp" "strings" + + "gopkg.in/src-d/enry.v1/data" ) // OtherLanguage is used as a zero value when a function can not return a specific language. @@ -24,6 +26,12 @@ var DefaultStrategies = []Strategy{ GetLanguagesByClassifier, } +var DefaultClassifier Classifier = &classifier{ + languagesLogProbabilities: data.LanguagesLogProbabilities, + tokensLogProbabilities: data.TokensLogProbabilities, + tokensTotal: data.TokensTotal, +} + // GetLanguage applies a sequence of strategies based on the given filename and content // to find out the most probably language to return. func GetLanguage(filename string, content []byte) (language string) { @@ -249,14 +257,14 @@ func GetLanguagesByVimModeline(filename string, content []byte, candidates []str // GetLanguagesByFilename returns a slice of possible languages for the given filename, content and candidates // will be ignored. It complies with the signature to be a Strategy type. func GetLanguagesByFilename(filename string, content []byte, candidates []string) []string { - return languagesByFilename[filepath.Base(filename)] + return data.LanguagesByFilename[filepath.Base(filename)] } // GetLanguagesByShebang returns a slice of possible languages for the given content, filename and candidates // will be ignored. It complies with the signature to be a Strategy type. func GetLanguagesByShebang(filename string, content []byte, candidates []string) (languages []string) { interpreter := getInterpreter(content) - return languagesByInterpreter[interpreter] + return data.LanguagesByInterpreter[interpreter] } var ( @@ -343,7 +351,7 @@ func GetLanguagesByExtension(filename string, content []byte, candidates []strin dots := getDotIndexes(filename) for _, dot := range dots { ext := filename[dot:] - languages, ok := languagesByExtension[ext] + languages, ok := data.LanguagesByExtension[ext] if ok { return languages } @@ -397,7 +405,7 @@ func GetLanguagesBySpecificClassifier(content []byte, candidates []string, class // GetLanguageExtensions returns the different extensions being used by the language. func GetLanguageExtensions(language string) []string { - return extensionsByLanguage[language] + return data.ExtensionsByLanguage[language] } // Type represent language's type. Either data, programming, markup, prose, or unknown. @@ -414,11 +422,11 @@ const ( // GetLanguageType returns the type of the given language. func GetLanguageType(language string) (langType Type) { - langType, ok := languagesType[language] + intType, ok := data.LanguagesType[language] + langType = Type(intType) if !ok { langType = Unknown } - return langType } @@ -427,7 +435,7 @@ func GetLanguageType(language string) (langType Type) { func GetLanguageByAlias(alias string) (lang string, ok bool) { a := strings.Split(alias, `,`)[0] a = strings.ToLower(a) - lang, ok = languagesByAlias[a] + lang, ok = data.LanguagesByAlias[a] if !ok { lang = OtherLanguage } diff --git a/alias.go b/data/alias.go similarity index 99% rename from alias.go rename to data/alias.go index 78c75e5..6949f44 100644 --- a/alias.go +++ b/data/alias.go @@ -1,12 +1,12 @@ -package enry +package data // CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator // THIS FILE SHOULD NOT BE EDITED BY HAND // Extracted from github/linguist commit: b6460f8ed6b249281ada099ca28bd8f1230b8892 -// languagesByAlias keeps alias for different languages and use the name of the languages as an alias too. +// LanguagesByAlias keeps alias for different languages and use the name of the languages as an alias too. // All the keys (alias or not) are written in lower case and the whitespaces has been replaced by underscores. -var languagesByAlias = map[string]string{ +var LanguagesByAlias = map[string]string{ "1c_enterprise": "1C Enterprise", "abap": "ABAP", "abl": "OpenEdge ABL", diff --git a/data/content.go b/data/content.go new file mode 100644 index 0000000..639999d --- /dev/null +++ b/data/content.go @@ -0,0 +1,568 @@ +package data + +// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator +// THIS FILE SHOULD NOT BE EDITED BY HAND +// Extracted from github/linguist commit: b6460f8ed6b249281ada099ca28bd8f1230b8892 + +import ( + "regexp" +) + +type languageMatcher func([]byte) []string + +var ContentMatchers = map[string]languageMatcher{ + ".asc": func(i []byte) []string { + if asc_PublicKey_Matcher_0.Match(i) { + return []string{"Public Key"} + } else if asc_AsciiDoc_Matcher_0.Match(i) { + return []string{"AsciiDoc"} + } else if asc_AGSScript_Matcher_0.Match(i) { + return []string{"AGS Script"} + } + + return nil + }, + ".bb": func(i []byte) []string { + if bb_BlitzBasic_Matcher_0.Match(i) || bb_BlitzBasic_Matcher_1.Match(i) { + return []string{"BlitzBasic"} + } else if bb_BitBake_Matcher_0.Match(i) { + return []string{"BitBake"} + } + + return nil + }, + ".builds": func(i []byte) []string { + if builds_XML_Matcher_0.Match(i) { + return []string{"XML"} + } + + return []string{"Text"} + }, + ".ch": func(i []byte) []string { + if ch_xBase_Matcher_0.Match(i) { + return []string{"xBase"} + } + + return nil + }, + ".cl": func(i []byte) []string { + if cl_CommonLisp_Matcher_0.Match(i) { + return []string{"Common Lisp"} + } else if cl_Cool_Matcher_0.Match(i) { + return []string{"Cool"} + } else if cl_OpenCL_Matcher_0.Match(i) { + return []string{"OpenCL"} + } + + return nil + }, + ".cls": func(i []byte) []string { + if cls_TeX_Matcher_0.Match(i) { + return []string{"TeX"} + } + + return nil + }, + ".cs": func(i []byte) []string { + if cs_Smalltalk_Matcher_0.Match(i) { + return []string{"Smalltalk"} + } else if cs_CSharp_Matcher_0.Match(i) || cs_CSharp_Matcher_1.Match(i) { + return []string{"C#"} + } + + return nil + }, + ".d": func(i []byte) []string { + if d_D_Matcher_0.Match(i) { + return []string{"D"} + } else if d_DTrace_Matcher_0.Match(i) { + return []string{"DTrace"} + } else if d_Makefile_Matcher_0.Match(i) { + return []string{"Makefile"} + } + + return nil + }, + ".ecl": func(i []byte) []string { + if ecl_ECLiPSe_Matcher_0.Match(i) { + return []string{"ECLiPSe"} + } else if ecl_ECL_Matcher_0.Match(i) { + return []string{"ECL"} + } + + return nil + }, + ".es": func(i []byte) []string { + if es_Erlang_Matcher_0.Match(i) { + return []string{"Erlang"} + } + + return nil + }, + ".f": func(i []byte) []string { + if f_Forth_Matcher_0.Match(i) { + return []string{"Forth"} + } else if f_FilebenchWML_Matcher_0.Match(i) { + return []string{"Filebench WML"} + } else if f_Fortran_Matcher_0.Match(i) { + return []string{"Fortran"} + } + + return nil + }, + ".for": func(i []byte) []string { + if for_Forth_Matcher_0.Match(i) { + return []string{"Forth"} + } else if for_Fortran_Matcher_0.Match(i) { + return []string{"Fortran"} + } + + return nil + }, + ".fr": func(i []byte) []string { + if fr_Forth_Matcher_0.Match(i) { + return []string{"Forth"} + } else if fr_Frege_Matcher_0.Match(i) { + return []string{"Frege"} + } + + return []string{"Text"} + }, + ".fs": func(i []byte) []string { + if fs_Forth_Matcher_0.Match(i) { + return []string{"Forth"} + } else if fs_FSharp_Matcher_0.Match(i) { + return []string{"F#"} + } else if fs_GLSL_Matcher_0.Match(i) { + return []string{"GLSL"} + } else if fs_Filterscript_Matcher_0.Match(i) { + return []string{"Filterscript"} + } + + return nil + }, + ".gs": func(i []byte) []string { + if gs_Gosu_Matcher_0.Match(i) { + return []string{"Gosu"} + } + + return nil + }, + ".h": func(i []byte) []string { + if h_ObjectiveDashC_Matcher_0.Match(i) { + return []string{"Objective-C"} + } else if h_CPlusPlus_Matcher_0.Match(i) || h_CPlusPlus_Matcher_1.Match(i) || h_CPlusPlus_Matcher_2.Match(i) || h_CPlusPlus_Matcher_3.Match(i) || h_CPlusPlus_Matcher_4.Match(i) || h_CPlusPlus_Matcher_5.Match(i) || h_CPlusPlus_Matcher_6.Match(i) { + return []string{"C++"} + } + + return nil + }, + ".inc": func(i []byte) []string { + if inc_PHP_Matcher_0.Match(i) { + return []string{"PHP"} + } else if inc_POVDashRaySDL_Matcher_0.Match(i) { + return []string{"POV-Ray SDL"} + } + + return nil + }, + ".l": func(i []byte) []string { + if l_CommonLisp_Matcher_0.Match(i) { + return []string{"Common Lisp"} + } else if l_Lex_Matcher_0.Match(i) { + return []string{"Lex"} + } else if l_Roff_Matcher_0.Match(i) { + return []string{"Roff"} + } else if l_PicoLisp_Matcher_0.Match(i) { + return []string{"PicoLisp"} + } + + return nil + }, + ".ls": func(i []byte) []string { + if ls_LoomScript_Matcher_0.Match(i) { + return []string{"LoomScript"} + } + + return []string{"LiveScript"} + }, + ".lsp": func(i []byte) []string { + if lsp_CommonLisp_Matcher_0.Match(i) { + return []string{"Common Lisp"} + } else if lsp_NewLisp_Matcher_0.Match(i) { + return []string{"NewLisp"} + } + + return nil + }, + ".lisp": func(i []byte) []string { + if lisp_CommonLisp_Matcher_0.Match(i) { + return []string{"Common Lisp"} + } else if lisp_NewLisp_Matcher_0.Match(i) { + return []string{"NewLisp"} + } + + return nil + }, + ".m": func(i []byte) []string { + if m_ObjectiveDashC_Matcher_0.Match(i) { + return []string{"Objective-C"} + } else if m_Mercury_Matcher_0.Match(i) { + return []string{"Mercury"} + } else if m_MUF_Matcher_0.Match(i) { + return []string{"MUF"} + } else if m_M_Matcher_0.Match(i) { + return []string{"M"} + } else if m_Mathematica_Matcher_0.Match(i) { + return []string{"Mathematica"} + } else if m_Matlab_Matcher_0.Match(i) { + return []string{"Matlab"} + } else if m_Limbo_Matcher_0.Match(i) { + return []string{"Limbo"} + } + + return nil + }, + ".md": func(i []byte) []string { + if md_Markdown_Matcher_0.Match(i) || md_Markdown_Matcher_1.Match(i) { + return []string{"Markdown"} + } else if md_GCCMachineDescription_Matcher_0.Match(i) { + return []string{"GCC Machine Description"} + } + + return []string{"Markdown"} + }, + ".ml": func(i []byte) []string { + if ml_OCaml_Matcher_0.Match(i) { + return []string{"OCaml"} + } else if ml_StandardML_Matcher_0.Match(i) { + return []string{"Standard ML"} + } + + return nil + }, + ".mod": func(i []byte) []string { + if mod_XML_Matcher_0.Match(i) { + return []string{"XML"} + } else if mod_ModulaDash2_Matcher_0.Match(i) || mod_ModulaDash2_Matcher_1.Match(i) { + return []string{"Modula-2"} + } + + return []string{"Linux Kernel Module", "AMPL"} + }, + ".ms": func(i []byte) []string { + if ms_Roff_Matcher_0.Match(i) { + return []string{"Roff"} + } + + return []string{"MAXScript"} + }, + ".n": func(i []byte) []string { + if n_Roff_Matcher_0.Match(i) { + return []string{"Roff"} + } else if n_Nemerle_Matcher_0.Match(i) { + return []string{"Nemerle"} + } + + return nil + }, + ".ncl": func(i []byte) []string { + if ncl_Text_Matcher_0.Match(i) { + return []string{"Text"} + } + + return nil + }, + ".nl": func(i []byte) []string { + if nl_NL_Matcher_0.Match(i) { + return []string{"NL"} + } + + return []string{"NewLisp"} + }, + ".php": func(i []byte) []string { + if php_Hack_Matcher_0.Match(i) { + return []string{"Hack"} + } else if php_PHP_Matcher_0.Match(i) { + return []string{"PHP"} + } + + return nil + }, + ".pl": func(i []byte) []string { + if pl_Prolog_Matcher_0.Match(i) { + return []string{"Prolog"} + } else if pl_Perl_Matcher_0.Match(i) { + return []string{"Perl"} + } else if pl_Perl6_Matcher_0.Match(i) { + return []string{"Perl6"} + } + + return nil + }, + ".pm": func(i []byte) []string { + if pm_Perl6_Matcher_0.Match(i) { + return []string{"Perl6"} + } else if pm_Perl_Matcher_0.Match(i) { + return []string{"Perl"} + } + + return nil + }, + ".pod": func(i []byte) []string { + if pod_Pod_Matcher_0.Match(i) { + return []string{"Pod"} + } + + return []string{"Perl"} + }, + ".pro": func(i []byte) []string { + if pro_Prolog_Matcher_0.Match(i) { + return []string{"Prolog"} + } else if pro_INI_Matcher_0.Match(i) { + return []string{"INI"} + } else if pro_QMake_Matcher_0.Match(i) && pro_QMake_Matcher_1.Match(i) { + return []string{"QMake"} + } else if pro_IDL_Matcher_0.Match(i) { + return []string{"IDL"} + } + + return nil + }, + ".props": func(i []byte) []string { + if props_XML_Matcher_0.Match(i) { + return []string{"XML"} + } else if props_INI_Matcher_0.Match(i) { + return []string{"INI"} + } + + return nil + }, + ".r": func(i []byte) []string { + if r_Rebol_Matcher_0.Match(i) { + return []string{"Rebol"} + } else if r_R_Matcher_0.Match(i) { + return []string{"R"} + } + + return nil + }, + ".rno": func(i []byte) []string { + if rno_RUNOFF_Matcher_0.Match(i) { + return []string{"RUNOFF"} + } else if rno_Roff_Matcher_0.Match(i) { + return []string{"Roff"} + } + + return nil + }, + ".rpy": func(i []byte) []string { + if rpy_Python_Matcher_0.Match(i) { + return []string{"Python"} + } + + return []string{"Ren'Py"} + }, + ".rs": func(i []byte) []string { + if rs_Rust_Matcher_0.Match(i) { + return []string{"Rust"} + } else if rs_RenderScript_Matcher_0.Match(i) { + return []string{"RenderScript"} + } + + return nil + }, + ".sc": func(i []byte) []string { + if sc_SuperCollider_Matcher_0.Match(i) || sc_SuperCollider_Matcher_1.Match(i) || sc_SuperCollider_Matcher_2.Match(i) { + return []string{"SuperCollider"} + } else if sc_Scala_Matcher_0.Match(i) || sc_Scala_Matcher_1.Match(i) || sc_Scala_Matcher_2.Match(i) { + return []string{"Scala"} + } + + return nil + }, + ".sql": func(i []byte) []string { + if sql_PLpgSQL_Matcher_0.Match(i) || sql_PLpgSQL_Matcher_1.Match(i) || sql_PLpgSQL_Matcher_2.Match(i) { + return []string{"PLpgSQL"} + } else if sql_SQLPL_Matcher_0.Match(i) || sql_SQLPL_Matcher_1.Match(i) { + return []string{"SQLPL"} + } else if sql_PLSQL_Matcher_0.Match(i) || sql_PLSQL_Matcher_1.Match(i) { + return []string{"PLSQL"} + } else if sql_SQL_Matcher_0.Match(i) { + return []string{"SQL"} + } + + return nil + }, + ".srt": func(i []byte) []string { + if srt_SubRipText_Matcher_0.Match(i) { + return []string{"SubRip Text"} + } + + return nil + }, + ".t": func(i []byte) []string { + if t_Turing_Matcher_0.Match(i) { + return []string{"Turing"} + } else if t_Perl6_Matcher_0.Match(i) { + return []string{"Perl6"} + } else if t_Perl_Matcher_0.Match(i) { + return []string{"Perl"} + } + + return nil + }, + ".toc": func(i []byte) []string { + if toc_WorldofWarcraftAddonData_Matcher_0.Match(i) { + return []string{"World of Warcraft Addon Data"} + } else if toc_TeX_Matcher_0.Match(i) { + return []string{"TeX"} + } + + return nil + }, + ".ts": func(i []byte) []string { + if ts_XML_Matcher_0.Match(i) { + return []string{"XML"} + } + + return []string{"TypeScript"} + }, + ".tst": func(i []byte) []string { + if tst_GAP_Matcher_0.Match(i) { + return []string{"GAP"} + } + + return []string{"Scilab"} + }, + ".tsx": func(i []byte) []string { + if tsx_TypeScript_Matcher_0.Match(i) { + return []string{"TypeScript"} + } else if tsx_XML_Matcher_0.Match(i) { + return []string{"XML"} + } + + return nil + }, +} + +var ( + asc_PublicKey_Matcher_0 = regexp.MustCompile(`(?m)^(----[- ]BEGIN|ssh-(rsa|dss)) `) + asc_AsciiDoc_Matcher_0 = regexp.MustCompile(`(?m)^[=-]+(\s|\n)|{{[A-Za-z]`) + asc_AGSScript_Matcher_0 = regexp.MustCompile(`(?m)^(\/\/.+|((import|export)\s+)?(function|int|float|char)\s+((room|repeatedly|on|game)_)?([A-Za-z]+[A-Za-z_0-9]+)\s*[;\(])`) + bb_BlitzBasic_Matcher_0 = regexp.MustCompile(`(?m)^\s*; `) + bb_BlitzBasic_Matcher_1 = regexp.MustCompile(`(?m)End Function`) + bb_BitBake_Matcher_0 = regexp.MustCompile(`(?m)^\s*(# |include|require)\b`) + builds_XML_Matcher_0 = regexp.MustCompile(`(?mi)^(\s*)()`) + f_Forth_Matcher_0 = regexp.MustCompile(`(?m)^: `) + f_FilebenchWML_Matcher_0 = regexp.MustCompile(`(?m)flowop`) + f_Fortran_Matcher_0 = regexp.MustCompile(`(?mi)^([c*][^abd-z]| (subroutine|program|end|data)\s|\s*!)`) + for_Forth_Matcher_0 = regexp.MustCompile(`(?m)^: `) + for_Fortran_Matcher_0 = regexp.MustCompile(`(?mi)^([c*][^abd-z]| (subroutine|program|end|data)\s|\s*!)`) + fr_Forth_Matcher_0 = regexp.MustCompile(`(?m)^(: |also |new-device|previous )`) + fr_Frege_Matcher_0 = regexp.MustCompile(`(?m)^\s*(import|module|package|data|type) `) + fs_Forth_Matcher_0 = regexp.MustCompile(`(?m)^(: |new-device)`) + fs_FSharp_Matcher_0 = regexp.MustCompile(`(?m)^\s*(#light|import|let|module|namespace|open|type)`) + fs_GLSL_Matcher_0 = regexp.MustCompile(`(?m)^\s*(#version|precision|uniform|varying|vec[234])`) + fs_Filterscript_Matcher_0 = regexp.MustCompile(`(?m)#include|#pragma\s+(rs|version)|__attribute__`) + gs_Gosu_Matcher_0 = regexp.MustCompile(`(?m)^uses java\.`) + h_ObjectiveDashC_Matcher_0 = regexp.MustCompile(`(?m)^\s*(@(interface|class|protocol|property|end|synchronised|selector|implementation)\b|#import\s+.+\.h[">])`) + h_CPlusPlus_Matcher_0 = regexp.MustCompile(`(?m)^\s*#\s*include <(cstdint|string|vector|map|list|array|bitset|queue|stack|forward_list|unordered_map|unordered_set|(i|o|io)stream)>`) + h_CPlusPlus_Matcher_1 = regexp.MustCompile(`(?m)^\s*template\s*<`) + h_CPlusPlus_Matcher_2 = regexp.MustCompile(`(?m)^[ \t]*try`) + h_CPlusPlus_Matcher_3 = regexp.MustCompile(`(?m)^[ \t]*catch\s*\(`) + h_CPlusPlus_Matcher_4 = regexp.MustCompile(`(?m)^[ \t]*(class|(using[ \t]+)?namespace)\s+\w+`) + h_CPlusPlus_Matcher_5 = regexp.MustCompile(`(?m)^[ \t]*(private|public|protected):$`) + h_CPlusPlus_Matcher_6 = regexp.MustCompile(`(?m)std::\w+`) + inc_PHP_Matcher_0 = regexp.MustCompile(`(?m)^<\?(?:php)?`) + inc_POVDashRaySDL_Matcher_0 = regexp.MustCompile(`(?m)^\s*#(declare|local|macro|while)\s`) + l_CommonLisp_Matcher_0 = regexp.MustCompile(`(?m)\(def(un|macro)\s`) + l_Lex_Matcher_0 = regexp.MustCompile(`(?m)^(%[%{}]xs|<.*>)`) + l_Roff_Matcher_0 = regexp.MustCompile(`(?mi)^\.[a-z][a-z](\s|$)`) + l_PicoLisp_Matcher_0 = regexp.MustCompile(`(?m)^\((de|class|rel|code|data|must)\s`) + ls_LoomScript_Matcher_0 = regexp.MustCompile(`(?m)^\s*package\s*[\w\.\/\*\s]*\s*{`) + lsp_CommonLisp_Matcher_0 = regexp.MustCompile(`(?mi)^\s*\((defun|in-package|defpackage) `) + lsp_NewLisp_Matcher_0 = regexp.MustCompile(`(?m)^\s*\(define `) + lisp_CommonLisp_Matcher_0 = regexp.MustCompile(`(?mi)^\s*\((defun|in-package|defpackage) `) + lisp_NewLisp_Matcher_0 = regexp.MustCompile(`(?m)^\s*\(define `) + m_ObjectiveDashC_Matcher_0 = regexp.MustCompile(`(?m)^\s*(@(interface|class|protocol|property|end|synchronised|selector|implementation)\b|#import\s+.+\.h[">])`) + m_Mercury_Matcher_0 = regexp.MustCompile(`(?m):- module`) + m_MUF_Matcher_0 = regexp.MustCompile(`(?m)^: `) + m_M_Matcher_0 = regexp.MustCompile(`(?m)^\s*;`) + m_Mathematica_Matcher_0 = regexp.MustCompile(`(?m)\*\)$`) + m_Matlab_Matcher_0 = regexp.MustCompile(`(?m)^\s*%`) + m_Limbo_Matcher_0 = regexp.MustCompile(`(?m)^\w+\s*:\s*module\s*{`) + md_Markdown_Matcher_0 = regexp.MustCompile(`(?mi)(^[-a-z0-9=#!\*\[|>])|<\/`) + md_Markdown_Matcher_1 = regexp.MustCompile(`^$`) + md_GCCMachineDescription_Matcher_0 = regexp.MustCompile(`(?m)^(;;|\(define_)`) + ml_OCaml_Matcher_0 = regexp.MustCompile(`(?m)(^\s*module)|let rec |match\s+(\S+\s)+with`) + ml_StandardML_Matcher_0 = regexp.MustCompile(`(?m)=> |case\s+(\S+\s)+of`) + mod_XML_Matcher_0 = regexp.MustCompile(`(?m))\s*(\d{2}:\d{2}:\d{2},\d{3})$`) + t_Turing_Matcher_0 = regexp.MustCompile(`(?m)^\s*%[ \t]+|^\s*var\s+\w+\s*:=\s*\w+`) + t_Perl6_Matcher_0 = regexp.MustCompile(`(?m)^\s*(?:use\s+v6\s*;|\bmodule\b|\b(?:my\s+)?class\b)`) + t_Perl_Matcher_0 = regexp.MustCompile(`(?m)\buse\s+(?:strict\b|v?5\.)`) + toc_WorldofWarcraftAddonData_Matcher_0 = regexp.MustCompile(`(?m)^## |@no-lib-strip@`) + toc_TeX_Matcher_0 = regexp.MustCompile(`(?m)^\\(contentsline|defcounter|beamer|boolfalse)`) + ts_XML_Matcher_0 = regexp.MustCompile(`(?m) `) + tsx_TypeScript_Matcher_0 = regexp.MustCompile(`(?m)^\s*(import.+(from\s+|require\()['"]react|\/\/\/\s*": -6.727180, - "?": -8.978471, - "DOM": -8.978471, - "DOM.": -9.671619, - "HTML": -8.978471, - "HTML.": -8.978471, - "Null": -9.671619, - "XML": -7.273723, - "XML.": -7.725708, - "_": -7.474394, - "А": -8.285324, - "Б": -8.062181, - "В": -4.701805, - "Г": -8.285324, - "Д": -4.722859, - "Е": -5.107270, - "Ж": -9.671619, - "З": -4.584022, - "И": -5.289592, - "К": -4.310326, - "Л": -6.237631, - "М": -6.270421, - "Н": -4.590214, - "О": -4.641181, - "П": -4.001738, - "Р": -5.842977, - "С": -4.435177, - "Т": -4.403760, - "У": -6.060701, - "Ф": -5.982739, - "Х": -8.978471, - "Ц": -5.611176, - "Ч": -6.580576, - "Ш": -6.627096, - "Э": -5.821471, - "а": -2.506125, - "б": -4.291721, - "в": -3.860478, - "г": -4.804084, - "д": -4.036829, - "е": -2.541520, - "ж": -5.139019, - "з": -4.827431, - "и": -2.859273, - "й": -4.688012, - "к": -3.479256, - "л": -3.214849, - "м": -4.073197, - "н": -2.957448, - "о": -2.573243, - "п": -4.273456, - "р": -3.199272, - "с": -3.569060, - "т": -2.863684, - "у": -4.029711, - "ф": -5.821471, - "х": -6.237631, - "ц": -4.319760, - "ч": -4.654339, - "ш": -7.369033, - "щ": -5.528484, - "ъ": -5.982739, - "ы": -3.805150, - "ь": -4.029711, - "ю": -6.116270, - "я": -4.565673, - "\ufeff": -8.978471, - }, - "ABAP": map[string]float64{ - "!": -4.637712, - "\"": -7.202661, - "(": -5.816367, - ")": -5.816367, - "*": -3.619142, - "+": -5.005437, - "-": -0.322277, - ".": -5.005437, - "<-()]>": -6.509514, - "": -6.509514, - "": -5.816367, - "": -6.104049, - "=": -4.900076, - ">": -5.123220, - "ABAP_BOOL": -7.202661, - "C": -7.202661, - "CLASS": -6.509514, - "CL_CSV_PARSER": -5.410902, - "CONSTRUCTOR": -7.202661, - "CSV": -7.202661, - "CSVSTRING": -7.202661, - "CX": -7.202661, - "CX_CSV_PARSE_ERROR": -7.202661, - "DEFINITION": -6.509514, - "DELEGATE": -7.202661, - "Get": -7.202661, - "IF_CSV_PARSER_DELEGATE": -7.202661, - "IMPLEMENTATION": -6.509514, - "Instance": -6.509514, - "Method": -6.509514, - "Parse": -7.202661, - "Private": -7.202661, - "Public": -7.202661, - "REF": -7.202661, - "RETURNING": -7.202661, - "SEPARATOR": -7.202661, - "SIGNATURE": -6.509514, - "SKIP_FIRST_LINE": -7.202661, - "STRING": -7.202661, - "STRINGTAB": -6.104049, - "Space": -6.509514, - "TO": -7.202661, - "TYPE": -5.256751, - "This": -7.202661, - "[": -5.593223, - "]": -5.816367, - "_LINES": -7.202661, - "_csvstring": -6.509514, - "_delegate": -7.202661, - "_lines": -7.202661, - "_lines.": -7.202661, - "_parse_line": -6.509514, - "_separator": -7.202661, - "_skip_first_line": -7.202661, - "_textindicator": -7.202661, - "`": -5.816367, - "abap": -7.202661, - "abap_bool": -6.509514, - "abap_true.": -6.509514, - "an": -7.202661, - "append": -6.509514, - "assigning": -7.202661, - "at": -6.509514, - "c": -6.509514, - "char": -6.509514, - "cl_abap_char_utilities": -7.202661, - "cl_csv_parser": -6.509514, - "cl_object": -7.202661, - "class": -6.509514, - "clear": -7.202661, - "concatenate": -5.816367, - "constants": -7.202661, - "constructor": -6.509514, - "constructor.": -7.202661, - "cr_lf": -7.202661, - "create": -7.202661, - "csv": -7.202661, - "csvstring": -7.202661, - "csvstring.": -7.202661, - "csvvalue": -5.410902, - "csvvalue.": -5.593223, - "csvvalues.": -6.509514, - "cx_csv_parse_error": -6.509514, - "data": -6.104049, - "definition": -7.202661, - "delegate": -7.202661, - "delegate.": -7.202661, - "do": -6.104049, - "e": -7.202661, - "else.": -5.816367, - "endclass.": -7.202661, - "endif.": -5.410902, - "endmethod.": -6.509514, - "endwhile.": -6.509514, - "error": -7.202661, - "exception": -7.202661, - "exporting": -7.202661, - "field": -7.202661, - "files": -6.104049, - "final": -7.202661, - "formatting": -7.202661, - "from": -7.202661, - "here": -6.104049, - "if_csv_parser_delegate": -7.202661, - "implementation.": -7.202661, - "importing": -7.202661, - "in": -7.202661, - "include": -6.104049, - "indicates": -7.202661, - "inheriting": -7.202661, - "into": -5.410902, - "is_first_line": -7.202661, - "line": -7.202661, - "lines": -5.816367, - "loop": -7.202661, - "message": -6.509514, - "method": -6.509514, - "methods": -6.509514, - "msg.": -6.509514, - "not": -6.104049, - "of": -6.509514, - "other": -6.104049, - "parse": -6.509514, - "pools": -7.202661, - "pos": -6.509514, - "private": -7.202661, - "protected": -7.202661, - "public": -6.104049, - "raise": -7.202661, - "raising": -7.202661, - "ref": -7.202661, - "returning.": -7.202661, - "section.": -6.104049, - "separator": -7.202661, - "separator.": -7.202661, - "skip_first_line": -7.202661, - "skip_first_line.": -7.202661, - "source": -6.104049, - "split": -7.202661, - "standard": -6.509514, - "string": -7.202661, - "string.": -6.104049, - "super": -7.202661, - "symbols": -7.202661, - "table": -6.104049, - "text_ended": -7.202661, - "the": -6.104049, - "to": -6.104049, - "type": -4.804766, - "value": -6.509514, - "values": -6.509514, - "|": -5.256751, - }, - "ABNF": map[string]float64{ - "%": -3.171745, - "'": -7.142037, - "(": -4.251665, - ")": -4.197598, - "*": -4.944812, - "*DIGIT": -7.142037, - "*basic": -6.448889, - "*literal": -7.142037, - "*newline": -7.142037, - "*non": -7.142037, - "+": -4.744141, - ",": -5.062595, - "-": -1.785450, - ".": -6.043424, - "/": -2.983153, - "//github.com/toml": -7.142037, - "//www.ietf.org/rfc/rfc": -7.142037, - ":": -5.755742, - ";": -2.588160, - "=": -2.747587, - "A": -5.196126, - "ABNF": -6.448889, - "ALPHA": -6.448889, - "Apostrophe": -7.142037, - "Array": -6.448889, - "B": -5.196126, - "B.": -7.142037, - "Basic": -6.043424, - "Boolean": -7.142037, - "Built": -7.142037, - "C": -5.350277, - "C.": -7.142037, - "CRLF": -7.142037, - "Comma": -6.448889, - "Comment": -7.142037, - "D": -4.839451, - "D.": -6.448889, - "DIGIT": -4.433986, - "Datetime": -7.142037, - "Double": -6.448889, - "E": -5.755742, - "Float": -7.142037, - "HEXDIG": -6.043424, - "Horizontal": -7.142037, - "Inline": -7.142037, - "Integer": -7.142037, - "Key": -7.142037, - "LF": -7.142037, - "Left": -7.142037, - "License": -7.142037, - "Literal": -6.448889, - "MIT": -7.142037, - "Multiline": -6.448889, - "Newline": -7.142037, - "Period": -7.142037, - "RFC": -6.448889, - "Right": -7.142037, - "See": -7.142037, - "Source": -7.142037, - "Space": -7.142037, - "Standard": -7.142037, - "String": -5.532599, - "Strings": -7.142037, - "TOML": -6.448889, - "Table": -5.755742, - "This": -7.142037, - "U": -4.839451, - "UXXXXXXXX": -7.142037, - "Value": -7.142037, - "Whitespace": -7.142037, - "XXXX": -7.142037, - "XXXXXXXX": -7.142037, - "Z": -6.448889, - "[": -4.577087, - "\\": -6.448889, - "]": -4.577087, - "_": -6.448889, - "a": -6.448889, - "according": -7.142037, - "an": -7.142037, - "apostraphe": -5.350277, - "array": -4.251665, - "as": -7.142037, - "attempt": -7.142037, - "b": -7.142037, - "backspace": -7.142037, - "based": -6.448889, - "basic": -4.502979, - "body": -5.755742, - "boolean": -6.448889, - "bracket": -5.755742, - "carriage": -7.142037, - "char": -5.062595, - "clarity": -7.142037, - "close": -5.062595, - "comment": -5.062595, - "date": -4.839451, - "decimal": -6.448889, - "define": -7.142037, - "defined": -6.448889, - "delim": -5.350277, - "digit": -6.448889, - "e": -6.043424, - "empty": -6.043424, - "eol": -7.142037, - "escape": -6.448889, - "escaped": -7.142037, - "exp": -6.043424, - "expression": -6.043424, - "f": -7.142037, - "false": -6.043424, - "feed": -6.448889, - "float": -6.448889, - "for": -7.142037, - "form": -7.142037, - "frac": -6.043424, - "full": -5.755742, - "fullyear": -6.448889, - "grammar": -7.142037, - "here": -7.142037, - "hour": -6.043424, - "http": -7.142037, - "https": -7.142037, - "in": -5.755742, - "inline": -4.577087, - "int": -5.755742, - "integer": -5.755742, - "is": -7.142037, - "key": -4.433986, - "keyval": -5.350277, - "keyvals": -5.532599, - "lang/toml": -7.142037, - "leap": -7.142037, - "left": -7.142037, - "line": -7.142037, - "literal": -4.657130, - "mark": -4.944812, - "mday": -6.448889, - "minus": -6.448889, - "minute": -6.043424, - "ml": -4.146304, - "month": -6.448889, - "month/year": -7.142037, - "n": -7.142037, - "newline": -5.532599, - "newlines": -5.532599, - "non": -6.043424, - "numoffset": -6.448889, - "offset": -6.448889, - "on": -6.448889, - "open": -5.062595, - "pairs": -7.142037, - "partial": -6.448889, - "plus": -6.448889, - "point": -6.448889, - "prefixable": -6.448889, - "quotation": -4.944812, - "quoted": -6.448889, - "r": -7.142037, - "reproduced": -7.142037, - "return": -7.142037, - "reverse": -7.142037, - "right": -7.142037, - "rules": -7.142037, - "secfrac": -6.448889, - "second": -6.043424, - "sep": -4.657130, - "solidus": -6.448889, - "square": -5.755742, - "start": -6.448889, - "std": -5.350277, - "string": -4.369448, - "symbol": -6.448889, - "t": -7.142037, - "tab": -6.448889, - "table": -3.740839, - "terms": -7.142037, - "the": -7.142037, - "time": -4.146304, - "to": -6.448889, - "toml": -7.142037, - "true": -6.043424, - "txt": -7.142037, - "uXXXX": -7.142037, - "underscore": -6.043424, - "unescaped": -6.043424, - "unquoted": -6.448889, - "val": -5.350277, - "values": -6.043424, - "ws": -4.006542, - "x": -3.171745, - "z": -6.448889, - "zero": -6.448889, - "{": -7.142037, - "}": -7.142037, - }, - "AGS Script": map[string]float64{ - "!": -5.850405, - "#define": -7.236699, - "&&": -6.138087, - "(": -2.606836, - ")": -2.606836, - "*control": -4.710971, - "*theGui": -7.929846, - "+": -5.983936, - ",": -3.978603, - "-": -2.601970, - "//": -5.531951, - "//****************************************************************************************************": -5.850405, - "//But": -7.929846, - "//Ctrl": -7.929846, - "//START": -7.929846, - "//Use": -7.929846, - "//if": -7.929846, - ":": -7.236699, - ";": -2.776555, - "<": -7.929846, - "=": -1.114206, - ">": -7.236699, - "CONTROL": -7.929846, - "DISTANCE": -4.710971, - "Debug": -6.543552, - "DeleteSaveSlot": -7.929846, - "Display": -6.543552, - "ESC": -7.929846, - "EventType": -7.929846, - "FUNCTIONS": -7.929846, - "GUI": -7.929846, - "GUIControl": -4.710971, - "IsGamePaused": -6.831234, - "IsInterfaceEnabled": -7.236699, - "IsKeyPressed": -5.096633, - "IsSpeechVoxAvailable": -7.929846, - "KeyboardMovement": -7.236699, - "KeyboardMovement_CurrentDirection": -5.983936, - "KeyboardMovement_Directions": -6.543552, - "KeyboardMovement_KeyDown": -6.320409, - "KeyboardMovement_KeyDownLeft": -6.831234, - "KeyboardMovement_KeyDownRight": -6.831234, - "KeyboardMovement_KeyLeft": -6.320409, - "KeyboardMovement_KeyRight": -6.320409, - "KeyboardMovement_KeyStop": -6.831234, - "KeyboardMovement_KeyUp": -6.320409, - "KeyboardMovement_KeyUpLeft": -6.831234, - "KeyboardMovement_KeyUpRight": -6.831234, - "KeyboardMovement_Mode": -6.543552, - "KeyboardMovement_Modes": -6.543552, - "KeyboardMovement_VERSION": -7.929846, - "MouseButton": -4.838804, - "OF": -7.929846, - "PANEL": -7.929846, - "ProcessClick": -7.929846, - "QuitGame": -7.236699, - "RestoreGameSlot": -7.929846, - "SaveGameSlot": -7.929846, - "SetMode": -7.236699, - "SetVoiceMode": -6.543552, - "System.SupportsGammaControl": -7.929846, - "System.Volume": -7.929846, - "W": -7.929846, - "Wait": -6.831234, - "[": -6.138087, - "]": -6.138087, - "appreciate.": -7.929846, - "area": -7.929846, - "as": -7.929846, - "btnAbout_OnClick": -7.929846, - "btnCancelRestore_OnClick": -7.929846, - "btnCancelSave_OnClick": -7.929846, - "btnDeleteSave_OnClick": -7.929846, - "btnIconAbout_Click": -7.929846, - "btnIconCurInv_Click": -7.929846, - "btnIconExit_Click": -7.929846, - "btnIconInv_Click": -7.929846, - "btnIconLoad": -7.929846, - "btnIconLoad_Click": -7.236699, - "btnIconSave": -7.929846, - "btnIconSave_Click": -7.236699, - "btnInvDown_Click": -7.929846, - "btnInvOK_Click": -7.929846, - "btnInvSelect_Click": -7.929846, - "btnInvUp_Click": -7.929846, - "btnLoad_OnClick": -7.929846, - "btnQuit_OnClick": -7.929846, - "btnRestoreGame_OnClick": -7.929846, - "btnResume_OnClick": -7.929846, - "btnSaveGame_OnClick": -7.236699, - "btnSave_OnClick": -7.929846, - "btnVoice.Text": -5.983936, - "btnVoice.Visible": -7.929846, - "button": -4.751793, - "cEgo_Interact": -7.929846, - "cEgo_Look": -7.929846, - "cEgo_Talk": -7.929846, - "cancel": -7.929846, - "close_restore_game_dialog": -6.831234, - "close_save_game_dialog": -6.831234, - "control": -7.929846, - "data": -7.929846, - "dx": -4.934114, - "dy": -4.934114, - "eEventLeaveRoom": -7.929846, - "eKeyCtrlA": -7.929846, - "eKeyCtrlS": -7.929846, - "eKeyCtrlV": -7.929846, - "eKeyCtrlW": -7.929846, - "eKeyCtrlX": -7.929846, - "eKeyEscape": -7.929846, - "eKeyboardMovement_Down": -6.320409, - "eKeyboardMovement_DownLeft": -6.320409, - "eKeyboardMovement_DownRight": -6.320409, - "eKeyboardMovement_Left": -6.320409, - "eKeyboardMovement_None": -7.236699, - "eKeyboardMovement_Pressing": -7.236699, - "eKeyboardMovement_Right": -6.320409, - "eKeyboardMovement_Stop": -5.732622, - "eKeyboardMovement_Tapping": -7.236699, - "eKeyboardMovement_Up": -6.320409, - "eKeyboardMovement_UpLeft": -6.320409, - "eKeyboardMovement_UpRight": -6.320409, - "eModeInteract": -7.929846, - "eModePickup": -7.929846, - "eModePointer": -6.320409, - "eModeTalkto": -7.929846, - "eModeUseinv": -7.236699, - "eModeWalkto": -7.929846, - "eMouseLeft": -6.831234, - "eMouseWheelNorth": -7.929846, - "eNoBlock": -7.236699, - "eSpeechTextOnly": -7.929846, - "eSpeechVoiceAndText": -7.236699, - "eSpeechVoiceOnly": -7.929846, - "else": -4.292260, - "enum": -7.236699, - "event": -7.236699, - "false": -4.985407, - "function": -4.240967, - "gControl_OnClick": -7.929846, - "gIconbar.Visible": -5.627261, - "gInventory.Visible": -7.929846, - "gPanel.Centre": -7.929846, - "gPanel.Visible": -5.983936, - "gRestartYN.Centre": -7.929846, - "gRestartYN.Visible": -7.236699, - "gRestoreGame.Visible": -7.236699, - "gSaveGame.Visible": -7.929846, - "game.debug_mode": -7.929846, - "gameSlotToSaveInto": -6.831234, - "give": -7.929846, - "i": -6.320409, - "if": -3.835502, - "import": -7.929846, - "initialize_control_panel": -7.929846, - "int": -5.096633, - "interface": -7.929846, - "interface_click": -7.929846, - "invCustomInv.ScrollDown": -7.929846, - "invCustomInv.ScrollUp": -7.929846, - "is": -7.929846, - "keyboard": -7.929846, - "keycode": -4.985407, - "lblVoice.Visible": -7.929846, - "lstRestoreGamesList.FillSaveGameList": -7.929846, - "lstRestoreGamesList.SaveGameSlots": -7.929846, - "lstRestoreGamesList.SelectedIndex": -7.236699, - "lstSaveGamesList.FillSaveGameList": -7.929846, - "lstSaveGamesList.ItemCount": -7.236699, - "lstSaveGamesList.Items": -6.831234, - "lstSaveGamesList.SaveGameSlots": -7.236699, - "lstSaveGamesList.SelectedIndex": -6.831234, - "lstSaveGamesList_OnSelectionCh": -7.929846, - "mode": -6.831234, - "mouse.Mode": -6.320409, - "mouse.UseDefaultGraphic": -5.983936, - "mouse.UseModeGraphic": -6.320409, - "mouse.x": -7.929846, - "mouse.y": -7.929846, - "move": -7.929846, - "much": -7.929846, - "newdirection": -4.168646, - "null": -7.929846, - "on_event": -7.929846, - "on_key_press": -7.929846, - "on_mouse_click": -7.929846, - "player.ActiveInventory": -7.929846, - "player.PlaceOnWalkableArea": -7.929846, - "player.StopMoving": -6.831234, - "player.WalkStraight": -7.236699, - "player.on": -7.236699, - "player.x": -7.236699, - "player.y": -7.236699, - "players": -7.929846, - "repeatedly_execute": -7.929846, - "restart.": -7.929846, - "return": -7.236699, - "shortcuts": -7.929846, - "show_inventory_window": -7.929846, - "show_restore_game_dialog": -7.236699, - "show_save_game_dialog": -7.929846, - "sldAudio.Value": -7.929846, - "sldAudio_OnChange": -7.929846, - "sldGamma_OnChange": -7.929846, - "sldVoice.Visible": -7.929846, - "sldVoice_OnChange": -7.929846, - "some": -7.929846, - "standard": -7.929846, - "static": -7.236699, - "struct": -7.929846, - "this": -7.929846, - "to": -7.236699, - "true": -5.531951, - "txtNewSaveName.Text": -6.320409, - "txtNewSaveName_OnActivate": -7.929846, - "very": -7.929846, - "walkable": -7.929846, - "while": -7.929846, - "will": -7.236699, - "you": -7.929846, - "your": -7.929846, - "{": -3.586041, - "||": -5.531951, - "}": -3.560399, - }, - "AMPL": map[string]float64{ - "(": -3.988984, - ")": -3.988984, - "*": -4.276666, - "+": -6.068426, - ",": -2.667228, - "-": -6.068426, - "..": -4.969813, - ":": -3.123987, - ";": -2.602690, - "<": -6.068426, - "=": -3.072693, - ">": -3.765840, - "BEAMS": -4.122515, - "COLUMNS": -4.276666, - "I": -4.122515, - "KnapsackBound": -4.969813, - "ROWS": -4.276666, - "S": -4.969813, - "T": -4.969813, - "Take": -4.969813, - "TotalValue": -6.068426, - "Value": -4.969813, - "Weight": -4.969813, - "WeightLimit": -6.068426, - "X": -4.458988, - "[": -3.178054, - "]": -3.178054, - "beam_values": -4.458988, - "binary": -6.068426, - "critical_area": -4.458988, - "critical_limit": -6.068426, - "critical_max": -5.375278, - "critical_values": -5.375278, - "data": -6.068426, - "h": -3.072693, - "i": -3.123987, - "in": -3.123987, - "integer": -5.375278, - "k": -3.072693, - "maximize": -5.375278, - "minimize": -4.969813, - "num_beams": -5.375278, - "num_cols": -5.375278, - "num_rows": -5.375278, - "param": -3.503476, - "s.t.": -6.068426, - "set": -4.276666, - "subject": -5.375278, - "sum": -3.765840, - "to": -5.375278, - "total_critical_dosage": -6.068426, - "total_critical_slack": -6.068426, - "total_tumor_dosage": -6.068426, - "total_tumor_slack": -6.068426, - "tumor_area": -4.458988, - "tumor_limit": -6.068426, - "tumor_min": -5.375278, - "tumor_values": -5.375278, - "var": -4.682131, - "{": -2.932931, - "}": -2.932931, - }, - "API Blueprint": map[string]float64{ - "!": -5.216746, - "#": -4.369448, - "##": -6.315358, - "%": -3.319626, - "'": -6.315358, - "(": -3.057261, - ")": -3.057261, - "**": -6.315358, - "**API": -6.315358, - "**Note": -6.315358, - "**parse**": -6.315358, - "**real": -6.315358, - "+": -3.096482, - ",": -3.542769, - "-": -3.917463, - ".": -5.622211, - "//github.com/apiaryio/drafter": -6.315358, - "//github.com/apiaryio/drafter#bindings": -6.315358, - "//raw.github.com/apiaryio/api": -4.929064, - ":": -2.760010, - "A": -4.523599, - "API": -4.118133, - "API.md": -5.622211, - "APIs": -6.315358, - "Action.md": -6.315358, - "Actions": -5.622211, - "Actions.md": -5.622211, - "Advanced": -4.705920, - "Also": -6.315358, - "As": -6.315358, - "Attributes": -5.216746, - "Attributes.md": -5.216746, - "Blueprint": -4.705920, - "Blueprint**": -6.315358, - "Blueprint**.": -6.315358, - "Body": -6.315358, - "Date": -6.315358, - "FORMAT": -5.216746, - "Github": -6.315358, - "Hello": -6.315358, - "ID.": -6.315358, - "In": -6.315358, - "JSON": -6.315358, - "Markdown": -6.315358, - "Model": -6.315358, - "Model.md": -6.315358, - "Next": -5.622211, - "One": -6.315358, - "Parameters": -4.929064, - "Parameters.md": -6.315358, - "Previous": -5.622211, - "Raw": -4.929064, - "Resource": -4.523599, - "Response": -4.705920, - "Retrieves": -6.315358, - "Simplest": -5.622211, - "The": -6.315358, - "This": -4.369448, - "Time": -6.315358, - "We": -6.315358, - "World": -6.315358, - "[": -3.750409, - "]": -3.750409, - "a": -4.369448, - "about": -6.315358, - "action": -5.622211, - "after": -6.315358, - "also": -6.315358, - "amount": -6.315358, - "an": -6.315358, - "and": -4.118133, - "another": -5.622211, - "application/json": -5.216746, - "apply": -6.315358, - "apply.": -6.315358, - "as": -5.622211, - "attributes": -5.622211, - "avoid": -6.315358, - "be": -6.315358, - "between": -6.315358, - "bindings": -6.315358, - "blueprint/master/examples/": -4.929064, - "body": -5.622211, - "can": -5.622211, - "case": -6.315358, - "code": -6.315358, - "combined": -6.315358, - "complementary": -6.315358, - "contains": -6.315358, - "coupon": -4.929064, - "course": -6.315358, - "created": -6.315358, - "customer.": -6.315358, - "demonstrate": -6.315358, - "demonstrates": -5.622211, - "describe": -6.315358, - "description": -6.315358, - "descriptions.": -6.315358, - "discount": -5.622211, - "do": -6.315358, - "duplicate": -6.315358, - "duplicates": -6.315358, - "every": -6.315358, - "example": -4.705920, - "examples": -6.315358, - "explain": -6.315358, - "fact": -6.315358, - "false": -5.622211, - "forget": -6.315358, - "given": -6.315358, - "going": -5.622211, - "how": -5.216746, - "https": -4.523599, - "id": -5.216746, - "in": -4.369448, - "information": -6.315358, - "installment": -6.315358, - "integer": -6.315358, - "is": -4.369448, - "it": -5.622211, - "its": -6.315358, - "just": -6.315358, - "keep": -6.315358, - "longer": -6.315358, - "message.": -6.315358, - "method": -6.315358, - "might": -6.315358, - "mind": -6.315358, - "next": -6.315358, - "no": -6.315358, - "not": -6.315358, - "null": -6.315358, - "number": -4.929064, - "object": -6.315358, - "of": -4.929064, - "off": -5.622211, - "on": -5.622211, - "one": -5.622211, - "opposed": -6.315358, - "or": -5.216746, - "output": -6.315358, - "parser": -6.315358, - "parser.": -6.315358, - "percent": -6.315358, - "percent_off": -6.315358, - "plain": -6.315358, - "please": -6.315358, - "positive": -6.315358, - "priority": -6.315358, - "progress": -6.315358, - "provided": -6.315358, - "really": -6.315358, - "redeem_by": -6.315358, - "redeemed": -6.315358, - "represents": -6.315358, - "request": -6.315358, - "resource": -5.216746, - "resource.": -6.315358, - "response": -6.315358, - "reuse": -6.315358, - "s": -6.315358, - "section.": -6.315358, - "see": -6.315358, - "seeing": -6.315358, - "simplest": -6.315358, - "single": -6.315358, - "stamp": -6.315358, - "state": -5.216746, - "status": -6.315358, - "string": -4.929064, - "such": -6.315358, - "text/plain": -6.315358, - "that": -5.216746, - "the": -3.482145, - "this": -5.622211, - "through": -6.315358, - "to": -3.917463, - "transition": -5.622211, - "transition.": -6.315358, - "true": -6.315358, - "view": -6.315358, - "want": -6.315358, - "we": -6.315358, - "what": -5.622211, - "which": -6.315358, - "will": -5.216746, - "with": -5.216746, - "written": -6.315358, - "you": -5.622211, - "{": -4.929064, - "}": -4.929064, - "–": -5.622211, - }, - "APL": map[string]float64{ - "!": -7.546446, - "#": -7.546446, - "#.": -6.853299, - "#.DISPLAY": -7.546446, - "#.Files.Dir": -7.546446, - "#.UT.appdir": -6.447834, - "#.UT.expect": -7.546446, - "#.UT.run": -7.546446, - "(": -3.521095, - ")": -3.503395, - "+": -5.061540, - ",": -3.080538, - "-": -5.349222, - "/": -4.907389, - "//tryapl.org/": -7.546446, - "/C": -7.546446, - "/Functions": -7.546446, - "/Page": -7.546446, - "/Z": -7.546446, - "/config": -7.546446, - "/input": -7.546446, - "/lines": -7.546446, - "/usr/local/bin/apl": -7.546446, - ":": -3.341754, - ";": -3.341754, - "": -7.546446, - "": -7.546446, - "": -7.546446, - "": -7.546446, - "": -6.853299, - "": -7.546446, - "": -7.546446, - "": -7.546446, - "
":              -7.546446,
-			"":           -8.083637,
-			"":           -5.598731,
-			"":           -8.083637,
-			"":              -4.751433,
-			"":            -6.291878,
-			"":           -6.985025,
-			"":              -5.444580,
-			"":                -8.083637,
-			"

": -8.083637, - "": -6.004196, - "": -6.474199, - "
": -6.985025, - "