{"id":29325201,"url":"https://github.com/71/Albion","last_synced_at":"2025-07-07T18:02:06.470Z","repository":{"id":32127289,"uuid":"35699887","full_name":"71/Albion","owner":"71","description":"Translating human-readable sentences to methods with parameters had never been so easy.","archived":false,"fork":false,"pushed_at":"2017-03-19T10:53:47.000Z","size":7813,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-10T23:56:26.802Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://6A.github.io/Albion","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/71.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-15T22:27:06.000Z","updated_at":"2018-07-29T20:41:03.000Z","dependencies_parsed_at":"2022-09-11T19:23:44.825Z","dependency_job_id":null,"html_url":"https://github.com/71/Albion","commit_stats":null,"previous_names":["6a/albion"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/71/Albion","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/71%2FAlbion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/71%2FAlbion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/71%2FAlbion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/71%2FAlbion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/71","download_url":"https://codeload.github.com/71/Albion/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/71%2FAlbion/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260807225,"owners_count":23066115,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-07T18:00:58.987Z","updated_at":"2025-07-07T18:02:06.455Z","avatar_url":"https://github.com/71.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Albion\n### Get methods from sentences, easily and effectively.\n------\n## Example:\n\n\u003e Remind me to go to the store to buy chocolates in two days, one hour and fifteen minutes.\n\n#### with:\n```csharp\n[Sentence(\"In {time} remind me to {todo}\")]\n[Sentence(\"Remind me to {todo} in {time}\")]\npublic static string RemindMeIn(string todo, TimeSpan time)\n{\n    DateTime remindtime = DateTime.Now;\n    remindtime = remindtime.Add(time);\n    return \"I will remind you to \" + todo + \" \"\n          + remindtime.DayOfWeek + \", the \" + remindtime.Day + \"th of \" + remindtime.ToString(\"MMM yyyy\")\n          + \", at \" + remindtime.ToString(\"HH:mm\") + \".\";\n}\n```\n\n#### will return:\n\n\u003e I will remind you to go to the store to buy chocolates Saturday, the 16th of May 2015, at 00:38.  \n\n------\n#### It's easy to use\n```csharp\nEngine engine = new Engine();\nengine.Register(typeof(Reminders));\nAnswer a = engine.Ask(\"Remind me to go to the store to buy chocolates in two days, one hour and fifteen minutes.\");\nif (a == null)\n    Console.WriteLine(\"No match found\");\nelse if (a.ReturnType == typeof(string))\n    Console.WriteLine(a.Call());\n```\n\n#### Way more than that\nSee [Wiki](../../wiki) to follow a [getting started](../../wiki/home) guide, learn [advanced uses](../../wiki/advanced-uses) or learn with [examples](../../wiki/examples).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F71%2FAlbion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F71%2FAlbion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F71%2FAlbion/lists"}