Segram
latest

Home

  • About
  • Installation
  • Supported languages and models
  • Authors & contributors
  • Contributing
  • License

Tutorials

  • See Github

Quick reference links

  • Components
  • Phrases
  • Sentences
  • Documents
  • Corpus
  • Stories
  • Frames
  • Segram pipeline component
  • Segram coref component
  • Data collections

API Reference

  • segram
    • segram package
      • Subpackages
        • segram.datastruct package
        • segram.grammar package
        • segram.nlp package
        • segram.semantic package
        • segram.utils package
      • Submodules
Segram
  • segram
  • segram package
  • segram.nlp package
  • segram.nlp.tokens package
  • Edit on GitHub

segram.nlp.tokens package

Wrapper classes for injecting segram functionalities into spacy tokens.

They implemented using composition by wrapping around a spacy token object.

Submodules

  • segram.nlp.tokens.abc module
    • NLP
      • NLP.tok
      • NLP.__repr__()
      • NLP.__eq__()
      • NLP.is_comparable_with()
      • NLP.sns()
  • segram.nlp.tokens.doc module
    • Doc
      • Doc.id
      • Doc.clear_user_data()
      • Doc.to_data()
      • Doc.from_data()
  • segram.nlp.tokens.span module
    • Span
      • Span.grammar
      • Span.display()
      • Span.render()
  • segram.nlp.tokens.token module
    • Token
      • Token.__lt__()
      • Token.coref
      • Token.to_str()
Previous Next

© Copyright 2023, Szymon Talaga. Revision cef36b0c.

Built with Sphinx using a theme provided by Read the Docs.