Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/antononcube/raku-dsl-entity-addressbook
Raku package with example address book entities.
https://github.com/antononcube/raku-dsl-entity-addressbook
address-book grammar named-entity-recognition raku rakulang
Last synced: about 1 month ago
JSON representation
Raku package with example address book entities.
- Host: GitHub
- URL: https://github.com/antononcube/raku-dsl-entity-addressbook
- Owner: antononcube
- License: artistic-2.0
- Created: 2023-02-07T17:16:05.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-11T15:39:41.000Z (12 months ago)
- Last Synced: 2024-11-05T18:55:58.120Z (3 months ago)
- Topics: address-book, grammar, named-entity-recognition, raku, rakulang
- Language: Raku
- Homepage: https://raku.land/zef:antononcube/DSL::Entity::AddressBook
- Size: 28.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README-work.md
- License: LICENSE
Awesome Lists containing this project
README
# DSL::Entity::AddressBook
Raku grammar classes with example address book entities.
This is an example data package used in demos of
["DSL::FiniteStateMachines"](https://raku.land/zef:antononcube/DSL::FiniteStateMachines), [AAp5].------
## Installation
From Zef ecosystem:
```
zef install DSL::Entity::AddressBook
```From GitHub:
```
zef install https://github.com/antononcube/Raku-DSL-Entity-AddressBook.git
```------
## Examples
Here are examples of recognizing different types of data acquisition related specifications:
```perl6
use DSL::Entity::AddressBook;
use DSL::Entity::AddressBook::Grammar;my &ab-parse = { DSL::Entity::AddressBook::Grammar.parse($_, args => (DSL::Entity::AddressBook::resource-access-object(),))};
say &ab-parse('Orlando Bloom');
``````perl6
say &ab-parse('Lort of the Rings');
``````perl6
say &ab-parse('X-Men');
```------
## References
### Packages
[AAp1] Anton Antonov,
[DSL::Shared Raku package](https://github.com/antononcube/Raku-DSL-Shared),
(2020),
[GitHub/antononcube](https://github.com/antononcube).[AAp2] Anton Antonov,
[DSL::Entity::Geographics Raku package](https://github.com/antononcube/Raku-DSL-Entity-Geographics),
(2021),
[GitHub/antononcube](https://github.com/antononcube).[AAp3] Anton Antonov,
[DSL::Entity::Jobs Raku package](https://github.com/antononcube/Raku-DSL-Entity-Jobs),
(2021),
[GitHub/antononcube](https://github.com/antononcube).[AAp4] Anton Antonov,
[DSL::Entity::Foods Raku package](https://github.com/antononcube/Raku-DSL-Entity-Foods),
(2021),
[GitHub/antononcube](https://github.com/antononcube).[AAp5] Anton Antonov,
[DSL::FiniteStateMachines Raku package](https://github.com/antononcube/Raku-DSL-FiniteStateMachines),
(2022-2023),
[GitHub/antononcube](https://github.com/antononcube).