github clone https://github.com/Nexico-tools/Nexico.git
andnpm install
to install all the dependencies.- After that, on Mac run
ng build
on Linux runnpm run build
and it will generate the dist folder with the build file. - copy background.js and manifest.js from src/assets/ to dist.
- in Chrome, go to chrome://extensions/ click on "Load unpacked extension..." and choose the dist folder.
- click on the N that appears next to the address bar..
npm run build ; cp src/assets/manifest.json dist/ ; cp src/assets/background.js dist/
to build and copy necessary files- refresh the extension (no need to reload the directory)
- put text files in a folder
- click on + from Folder
- choose the folder
- give a name to your database
You can now click on the squares to see the content and the specific vocabulary of each file. Specificity is computed with Fisher's exact test (cummulative hypergeometric function).
not fully functional yet.
- click on + from Web
- provide a URL
- click follow links of domain
- give a name to your database
src/app
: main component- app.component.html -> html file containing the main interface
- app.component.ts -> typescript file for the main interface (all actions : trigger dialog, table actions, trigger export, etc.)
src/app/config
- javascript files for stats computing
src/app/dbnamedialog
: database manager component- dbnamedialog.component.html -> html file for the database dialog
- dbnamedialog.component.ts -> ts file to handle clicks on the dialog
src/app/fusiondialog
: component for fusioning databasessrc/app/wizardone
: component for the crawler dialog (from url/multiple urls ; regex or links)src/app/wizardtwo
: component for the progress barsrc/dbstructure.ts
: classe/objects to hold database structuressrc/pouchdb.service.ts
: service class to interact with the database from localstorage (pouchdb) : put, fetch, get, etc.src/assets
: resources foldersrc/environment.ts
: set the environment type (production, or not)src/index.html
: app root (will use the background.js in a chrome extension)rc/package.json
: package info and dependencies