├── .gitignore ├── .vscode └── settings.json ├── LICENSE ├── MANIFEST.in ├── Readme.md ├── annotator.py ├── cve_analyzer ├── __init__.py ├── analyzer.py ├── dataset │ └── dataset.json └── model │ ├── meta.json │ ├── ner │ ├── cfg │ ├── lower_model │ ├── moves │ ├── tok2vec_model │ └── upper_model │ ├── tokenizer │ └── vocab │ ├── key2row │ ├── lexemes.bin │ ├── strings.json │ └── vectors ├── example.py ├── manual_annotator_helper.py ├── models ├── example_model │ ├── meta.json │ ├── ner │ │ ├── cfg │ │ ├── lower_model │ │ ├── moves │ │ ├── tok2vec_model │ │ └── upper_model │ ├── tokenizer │ └── vocab │ │ ├── key2row │ │ ├── lexemes.bin │ │ ├── strings.json │ │ └── vectors └── working_model │ ├── meta.json │ ├── ner │ ├── cfg │ ├── lower_model │ ├── moves │ ├── tok2vec_model │ └── upper_model │ ├── tokenizer │ └── vocab │ ├── key2row │ ├── lexemes.bin │ ├── strings.json │ └── vectors ├── setup.py ├── simplify_dataset.py └── trainer ├── .gitignore ├── client ├── .idea │ ├── client.iml │ ├── inspectionProfiles │ │ └── Project_Default.xml │ ├── misc.xml │ ├── modules.xml │ └── workspace.xml ├── README.md ├── package-lock.json ├── package.json ├── public │ ├── favicon.ico │ ├── index.html │ └── manifest.json └── src │ ├── App.css │ ├── App.js │ ├── App.test.js │ ├── components │ ├── actions │ │ └── taggerActions.js │ ├── home │ │ ├── index.js │ │ ├── taggerDocs.js │ │ └── uploaderDocs.js │ ├── shared │ │ ├── drawerIcon.js │ │ ├── errorDialog.js │ │ ├── sectionHeader.js │ │ └── subSectionHeader.js │ └── tagger │ │ ├── CVERenderer.js │ │ ├── index.js │ │ ├── labelAssigned.js │ │ ├── labelSelection.js │ │ └── summaryDialog.js │ ├── constants │ ├── actionTypes.js │ └── config.js │ ├── index.css │ ├── index.js │ ├── logo.svg │ ├── reducers │ ├── home.js │ ├── index.js │ └── tagger.js │ ├── serviceWorker.js │ ├── store │ └── index.js │ └── styles │ ├── createContext.js │ └── withRoot.js └── server ├── .vscode └── settings.json ├── app.py ├── models.py ├── trainer.sqlite └── uploader.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/Readme.md -------------------------------------------------------------------------------- /annotator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/annotator.py -------------------------------------------------------------------------------- /cve_analyzer/__init__.py: -------------------------------------------------------------------------------- 1 | from .analyzer import * 2 | -------------------------------------------------------------------------------- /cve_analyzer/analyzer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/cve_analyzer/analyzer.py -------------------------------------------------------------------------------- /cve_analyzer/dataset/dataset.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/cve_analyzer/dataset/dataset.json -------------------------------------------------------------------------------- /cve_analyzer/model/meta.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/cve_analyzer/model/meta.json -------------------------------------------------------------------------------- /cve_analyzer/model/ner/cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/cve_analyzer/model/ner/cfg -------------------------------------------------------------------------------- /cve_analyzer/model/ner/lower_model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/cve_analyzer/model/ner/lower_model -------------------------------------------------------------------------------- /cve_analyzer/model/ner/moves: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/cve_analyzer/model/ner/moves -------------------------------------------------------------------------------- /cve_analyzer/model/ner/tok2vec_model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/cve_analyzer/model/ner/tok2vec_model -------------------------------------------------------------------------------- /cve_analyzer/model/ner/upper_model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/cve_analyzer/model/ner/upper_model -------------------------------------------------------------------------------- /cve_analyzer/model/tokenizer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/cve_analyzer/model/tokenizer -------------------------------------------------------------------------------- /cve_analyzer/model/vocab/key2row: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/cve_analyzer/model/vocab/key2row -------------------------------------------------------------------------------- /cve_analyzer/model/vocab/lexemes.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/cve_analyzer/model/vocab/lexemes.bin -------------------------------------------------------------------------------- /cve_analyzer/model/vocab/strings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/cve_analyzer/model/vocab/strings.json -------------------------------------------------------------------------------- /cve_analyzer/model/vocab/vectors: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/cve_analyzer/model/vocab/vectors -------------------------------------------------------------------------------- /example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/example.py -------------------------------------------------------------------------------- /manual_annotator_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/manual_annotator_helper.py -------------------------------------------------------------------------------- /models/example_model/meta.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/models/example_model/meta.json -------------------------------------------------------------------------------- /models/example_model/ner/cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/models/example_model/ner/cfg -------------------------------------------------------------------------------- /models/example_model/ner/lower_model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/models/example_model/ner/lower_model -------------------------------------------------------------------------------- /models/example_model/ner/moves: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/models/example_model/ner/moves -------------------------------------------------------------------------------- /models/example_model/ner/tok2vec_model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/models/example_model/ner/tok2vec_model -------------------------------------------------------------------------------- /models/example_model/ner/upper_model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/models/example_model/ner/upper_model -------------------------------------------------------------------------------- /models/example_model/tokenizer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/models/example_model/tokenizer -------------------------------------------------------------------------------- /models/example_model/vocab/key2row: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/models/example_model/vocab/key2row -------------------------------------------------------------------------------- /models/example_model/vocab/lexemes.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/models/example_model/vocab/lexemes.bin -------------------------------------------------------------------------------- /models/example_model/vocab/strings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/models/example_model/vocab/strings.json -------------------------------------------------------------------------------- /models/example_model/vocab/vectors: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/models/example_model/vocab/vectors -------------------------------------------------------------------------------- /models/working_model/meta.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/models/working_model/meta.json -------------------------------------------------------------------------------- /models/working_model/ner/cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/models/working_model/ner/cfg -------------------------------------------------------------------------------- /models/working_model/ner/lower_model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/models/working_model/ner/lower_model -------------------------------------------------------------------------------- /models/working_model/ner/moves: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/models/working_model/ner/moves -------------------------------------------------------------------------------- /models/working_model/ner/tok2vec_model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/models/working_model/ner/tok2vec_model -------------------------------------------------------------------------------- /models/working_model/ner/upper_model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/models/working_model/ner/upper_model -------------------------------------------------------------------------------- /models/working_model/tokenizer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/models/working_model/tokenizer -------------------------------------------------------------------------------- /models/working_model/vocab/key2row: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/models/working_model/vocab/key2row -------------------------------------------------------------------------------- /models/working_model/vocab/lexemes.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/models/working_model/vocab/lexemes.bin -------------------------------------------------------------------------------- /models/working_model/vocab/strings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/models/working_model/vocab/strings.json -------------------------------------------------------------------------------- /models/working_model/vocab/vectors: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/models/working_model/vocab/vectors -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/setup.py -------------------------------------------------------------------------------- /simplify_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/simplify_dataset.py -------------------------------------------------------------------------------- /trainer/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/.gitignore -------------------------------------------------------------------------------- /trainer/client/.idea/client.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/.idea/client.iml -------------------------------------------------------------------------------- /trainer/client/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/.idea/inspectionProfiles/Project_Default.xml -------------------------------------------------------------------------------- /trainer/client/.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/.idea/misc.xml -------------------------------------------------------------------------------- /trainer/client/.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/.idea/modules.xml -------------------------------------------------------------------------------- /trainer/client/.idea/workspace.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/.idea/workspace.xml -------------------------------------------------------------------------------- /trainer/client/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/README.md -------------------------------------------------------------------------------- /trainer/client/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/package-lock.json -------------------------------------------------------------------------------- /trainer/client/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/package.json -------------------------------------------------------------------------------- /trainer/client/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/public/favicon.ico -------------------------------------------------------------------------------- /trainer/client/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/public/index.html -------------------------------------------------------------------------------- /trainer/client/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/public/manifest.json -------------------------------------------------------------------------------- /trainer/client/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/src/App.css -------------------------------------------------------------------------------- /trainer/client/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/src/App.js -------------------------------------------------------------------------------- /trainer/client/src/App.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/src/App.test.js -------------------------------------------------------------------------------- /trainer/client/src/components/actions/taggerActions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/src/components/actions/taggerActions.js -------------------------------------------------------------------------------- /trainer/client/src/components/home/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/src/components/home/index.js -------------------------------------------------------------------------------- /trainer/client/src/components/home/taggerDocs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/src/components/home/taggerDocs.js -------------------------------------------------------------------------------- /trainer/client/src/components/home/uploaderDocs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/src/components/home/uploaderDocs.js -------------------------------------------------------------------------------- /trainer/client/src/components/shared/drawerIcon.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/src/components/shared/drawerIcon.js -------------------------------------------------------------------------------- /trainer/client/src/components/shared/errorDialog.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/src/components/shared/errorDialog.js -------------------------------------------------------------------------------- /trainer/client/src/components/shared/sectionHeader.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/src/components/shared/sectionHeader.js -------------------------------------------------------------------------------- /trainer/client/src/components/shared/subSectionHeader.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/src/components/shared/subSectionHeader.js -------------------------------------------------------------------------------- /trainer/client/src/components/tagger/CVERenderer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/src/components/tagger/CVERenderer.js -------------------------------------------------------------------------------- /trainer/client/src/components/tagger/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/src/components/tagger/index.js -------------------------------------------------------------------------------- /trainer/client/src/components/tagger/labelAssigned.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/src/components/tagger/labelAssigned.js -------------------------------------------------------------------------------- /trainer/client/src/components/tagger/labelSelection.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/src/components/tagger/labelSelection.js -------------------------------------------------------------------------------- /trainer/client/src/components/tagger/summaryDialog.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/src/components/tagger/summaryDialog.js -------------------------------------------------------------------------------- /trainer/client/src/constants/actionTypes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/src/constants/actionTypes.js -------------------------------------------------------------------------------- /trainer/client/src/constants/config.js: -------------------------------------------------------------------------------- 1 | export const API_ENDPOINT = 'http://127.0.0.1:5000'; 2 | -------------------------------------------------------------------------------- /trainer/client/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/src/index.css -------------------------------------------------------------------------------- /trainer/client/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/src/index.js -------------------------------------------------------------------------------- /trainer/client/src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/src/logo.svg -------------------------------------------------------------------------------- /trainer/client/src/reducers/home.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/src/reducers/home.js -------------------------------------------------------------------------------- /trainer/client/src/reducers/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/src/reducers/index.js -------------------------------------------------------------------------------- /trainer/client/src/reducers/tagger.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/src/reducers/tagger.js -------------------------------------------------------------------------------- /trainer/client/src/serviceWorker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/src/serviceWorker.js -------------------------------------------------------------------------------- /trainer/client/src/store/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/src/store/index.js -------------------------------------------------------------------------------- /trainer/client/src/styles/createContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/src/styles/createContext.js -------------------------------------------------------------------------------- /trainer/client/src/styles/withRoot.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/client/src/styles/withRoot.js -------------------------------------------------------------------------------- /trainer/server/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/server/.vscode/settings.json -------------------------------------------------------------------------------- /trainer/server/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/server/app.py -------------------------------------------------------------------------------- /trainer/server/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/server/models.py -------------------------------------------------------------------------------- /trainer/server/trainer.sqlite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/server/trainer.sqlite -------------------------------------------------------------------------------- /trainer/server/uploader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Phat3/CVE-analyzer/HEAD/trainer/server/uploader.py --------------------------------------------------------------------------------