You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by ar...@apache.org on 2022/12/24 20:32:51 UTC
[incubator-nlpcraft] branch NLPCRAFT-521 updated: Update NCEntity.scala
This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch NLPCRAFT-521
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/NLPCRAFT-521 by this push:
new 77fde15d Update NCEntity.scala
77fde15d is described below
commit 77fde15db48a9c961e56663f0b8bf39b9f48a09e
Author: Aaron Radzinski <ar...@datalingvo.com>
AuthorDate: Sat Dec 24 12:32:43 2022 -0800
Update NCEntity.scala
---
nlpcraft/src/main/scala/org/apache/nlpcraft/NCEntity.scala | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/NCEntity.scala b/nlpcraft/src/main/scala/org/apache/nlpcraft/NCEntity.scala
index 885d0fe3..cde3594c 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/NCEntity.scala
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/NCEntity.scala
@@ -67,7 +67,8 @@ trait NCEntity extends NCPropertyMap:
/**
* Gets optional set of groups this entity belongs to.
*
- * @return Optional set of groups this entity belongs to. Returned set can be empty but never `null`.
+ * @return Optional set of groups this entity belongs to. Returned set can be empty but never `null`. By
+ * default the entity belongs to a group of its own [[getType type]].
*/
def getGroups: Set[String] = Set(getType)