-
Notifications
You must be signed in to change notification settings - Fork 18
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
Base types and their sensors #482
base: master
Are you sure you want to change the base?
Conversation
These are the base classes that commonly used in NLP applications and their related sensors. I included a bit of code refactoring in this PR as well. @kordjamshidi, please have a look. |
# Saul NLP Base Types | ||
Built in hierarchy of common linguistic units for processing text and NLP tasks | ||
and a relation class that connects various linguistic units. | ||
Nlp base types help to design data models in Saul and provide many built in feature |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
built-in features
## Relation | ||
Data modeling in Saul usually requires having edges between the model's nodes. | ||
[Relations](Relation.java) help to have a container that holds the information | ||
needed to construct those edges. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Data modeling in Saul usually requires combining nodes and forming hypernodes.
+Relations help to have a container that holds the information
+needed to construct a flexible base type for this purpose. The programmer can establish edges between the new hypernode and other nodes which formed its parts explicitly if needed.
(Parisa: maybe some thing like this is a more clear explanation?)
boolean contains(ISpanElement e); | ||
boolean isPartOf(ISpanElement e); | ||
boolean overlaps(ISpanElement e); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why the name ISpan..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you have a better suggestion? We talk about span-based elements.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I meant why it starts with I
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is an interface.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
then maybe SpanElementInterface? it is up to you but the name was confusing to me.
No description provided.