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 |
| ## 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.
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.
Do you have a better suggestion? We talk about span-based elements.
There was a problem hiding this comment.
I meant why it starts with I?
There was a problem hiding this comment.
It is an interface.
There was a problem hiding this comment.
then maybe SpanElementInterface? it is up to you but the name was confusing to me.
No description provided.