stzListOfEntities
29 own methods · 0 forms written with extensions, listed under their method · Also inherits from stzList (878)
also named: stzEntities
the source: base/natural/stzListOfEntities.ring(opens in a new tab) · All classes · The area reference: NLP & linguistics
Under each method, its extensions (Q CS XT Z ZZ IB W U): bold and ticked, it exists; struck, it does not. The extensions and what they mean
Examples: 0 come from the library's tests; 14 were composed from each method's signature and run for this page, on a fresh object, for example o1 = new stzListOfEntities([ [ :name = "alice", :type = "person", :age = 30 ], [ :name = "bob", :type = "person", :age = 25 ], [ :name = "ferrari", :type = "car", :brand = "ferrari" ] ]). 15 methods have none yet. Examples run on 2026-10-04 07:31 inside the library at commit 0e72e2e2c.
composed example
o1 = new stzListOfEntities([ [ :name = "alice", :type = "person", :age = 30 ], [ :name = "bob", :type = "person", :age = 25 ], [ :name = "ferrari", :type = "car", :brand = "ferrari" ] ]) ? @@( o1.EntitiesNames() ) #--> [ "alice", "bob", "ferrari" ]composed from the signature, run for this page
composed example
o1 = new stzListOfEntities([ [ :name = "alice", :type = "person", :age = 30 ], [ :name = "bob", :type = "person", :age = 25 ], [ :name = "ferrari", :type = "car", :brand = "ferrari" ] ]) ? @@( o1.EntitiesTypes() ) #--> [ "person", "person", "car" ]composed from the signature, run for this page
composed example
o1 = new stzListOfEntities([ [ :name = "alice", :type = "person", :age = 30 ], [ :name = "bob", :type = "person", :age = 25 ], [ :name = "ferrari", :type = "car", :brand = "ferrari" ] ]) ? @@( o1.UniqueTypes() ) #--> [ "person", "car" ]composed from the signature, run for this page
composed example
o1 = new stzListOfEntities([ [ :name = "alice", :type = "person", :age = 30 ], [ :name = "bob", :type = "person", :age = 25 ], [ :name = "ferrari", :type = "car", :brand = "ferrari" ] ]) ? @@( o1.EntityN(2) ) #--> [ [ "name", "bob" ], [ "type", "person" ], [ "age", 25 ] ]composed from the signature, run for this page
composed example
o1 = new stzListOfEntities([ [ :name = "alice", :type = "person", :age = 30 ], [ :name = "bob", :type = "person", :age = 25 ], [ :name = "ferrari", :type = "car", :brand = "ferrari" ] ]) ? @@( o1.FirstEntity() ) #--> [ [ "name", "alice" ], [ "type", "person" ], [ "age", 30 ] ]composed from the signature, run for this page
composed example
o1 = new stzListOfEntities([ [ :name = "alice", :type = "person", :age = 30 ], [ :name = "bob", :type = "person", :age = 25 ], [ :name = "ferrari", :type = "car", :brand = "ferrari" ] ]) ? @@( o1.LastEntity() ) #--> [ [ "name", "ferrari" ], [ "type", "car" ], [ "brand", "ferrari" ] ]composed from the signature, run for this page
composed example
o1 = new stzListOfEntities([ [ :name = "alice", :type = "person", :age = 30 ], [ :name = "bob", :type = "person", :age = 25 ], [ :name = "ferrari", :type = "car", :brand = "ferrari" ] ]) ? o1.NumberOfEntities() #--> 3composed from the signature, run for this page
composed example
o1 = new stzListOfEntities([ [ :name = "alice", :type = "person", :age = 30 ], [ :name = "bob", :type = "person", :age = 25 ], [ :name = "ferrari", :type = "car", :brand = "ferrari" ] ]) ? o1.IsEmpty() #--> 0composed from the signature, run for this page
composed example
o1 = new stzListOfEntities([ [ :name = "alice", :type = "person", :age = 30 ], [ :name = "bob", :type = "person", :age = 25 ], [ :name = "ferrari", :type = "car", :brand = "ferrari" ] ]) o1.RemoveEntityN(2) ? @@( o1.Content() ) #--> [ [ [ "name", "alice" ], [ "type", "person" ], [ "age", 30 ] ], [ [ "name", "ferrari" ], [ "type", "car" ], [ "brand", "ferrari" ] ] ]composed from the signature, run for this page
composed example
o1 = new stzListOfEntities([ [ :name = "alice", :type = "person", :age = 30 ], [ :name = "bob", :type = "person", :age = 25 ], [ :name = "ferrari", :type = "car", :brand = "ferrari" ] ])
? o1.FindEntityByName("bob")
#--> 2composed from the signature, run for this pagecomposed example
o1 = new stzListOfEntities([ [ :name = "alice", :type = "person", :age = 30 ], [ :name = "bob", :type = "person", :age = 25 ], [ :name = "ferrari", :type = "car", :brand = "ferrari" ] ])
? o1.ContainsName("bob")
#--> 1composed from the signature, run for this pagecomposed example
o1 = new stzListOfEntities([ [ :name = "alice", :type = "person", :age = 30 ], [ :name = "bob", :type = "person", :age = 25 ], [ :name = "ferrari", :type = "car", :brand = "ferrari" ] ])
? o1.ContainsType("car")
#--> 1composed from the signature, run for this pagecomposed example
o1 = new stzListOfEntities([ [ :name = "alice", :type = "person", :age = 30 ], [ :name = "bob", :type = "person", :age = 25 ], [ :name = "ferrari", :type = "car", :brand = "ferrari" ] ])
? o1.CountByType("person")
#--> 2composed from the signature, run for this pagecomposed example
o1 = new stzListOfEntities([ [ :name = "alice", :type = "person", :age = 30 ], [ :name = "bob", :type = "person", :age = 25 ], [ :name = "ferrari", :type = "car", :brand = "ferrari" ] ]) o1.SortByType() ? @@( o1.Content() ) #--> [ [ [ "name", "ferrari" ], [ "type", "car" ], [ "brand", "ferrari" ] ], [ [ "name", "alice" ], [ "type", "person" ], [ "age", 30 ] ], [ [ "name", "bob" ], [ "type", "person" ], [ "age", 25 ] ] ]composed from the signature, run for this page

