Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CLI Features, Docker Support, Result Caching, and JSON Output Format #5

Open
wants to merge 56 commits into
base: master
Choose a base branch
from

Conversation

brandonscholten
Copy link

Changes made:

  • using waitress to better handle multiple requests at once
  • additional CLI features
    • configurable server address and port
    • allow for the user to specify acceptable abbreviations
    • soon acceptable abbreviations and acceptable words will be separate
  • A docker container can be used to run the tagger and automatically pull a list of acceptable words which will be labeled as dictionary words
  • Changed output to the following JSON format:
{
  "count":1,
  "firstEncounter":1732639776.5735562,
  "lastEncounter":1732639776.5735579,
  "version":"SCANL 1.0",
  "words":[
    {
      "identifier":{
        "dictionary":"DW",
        "tag":"NM"
       }
    },
    {"Name":{
       "dictionary":"DW",
       "tag":"N"
       }
    }
  ]
}
  • Added result caching to improve speed
  • Added a dictionary word lookup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants