neon_nlp

Crates.ioneon_nlp
lib.rsneon_nlp
version0.0.2
sourcesrc
created_at2021-03-21 21:45:33.350781
updated_at2021-03-21 21:45:33.350781
descriptionA text recommender for Neon MDX
homepage
repositoryhttps://github.com/neonlaw/codebase
max_upload_size
id371862
size45,813
nick (shicholas)

documentation

https://github.com/neonlaw/codebase/tree/development/neon_nlp/README.md

README

Neon NLP

Consumption

A graphql server that exposes one Query to get recommendations about your text.

query {
  text(
    # The text, in mdx format, that you want to analyze. The text must be
    # validly formatted mdx according to our remark guidelines.
    mdx: String!
    # An optional User ID, if included the recommendations will also include
    # tokens scoped to this user.
    userId: UUID
  ) {
    nodes {
      # When the text was processed
      processedAt
      # Recommendations to make based off the input.
      recommendations {
        # What line the recommendation begins on
        beginningLineNumber
        # What character the recommendation begins on
        beginningCharacterNumber
        # What line the recommendation ends on
        endingLineNumber
        # What character the recommendation ends on
        endingCharacterNumber
        # The text of the recommendation
        body
      }
    }
  }
}

Implemtation

Commit count: 0

cargo fmt