Coder Social home page Coder Social logo

antononcube / raku-dsl-entity-weatherdata Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 180 KB

Raku grammar classes for weather data entities. (Variable- and station names.)

Home Page: https://raku.land/zef:antononcube/DSL::Entity::WeatherData

License: Artistic License 2.0

Raku 100.00%
data-package name-entity-recognition raku weather-data weather-stations

raku-dsl-entity-weatherdata's Introduction

Raku DSL::Entity::WeatherData

Raku grammar classes for weather data entities. (Variable- and station names.)


Installation

From Zef ecosystem:

zef install DSL::Entity::WeatherData

From GitHub:

zef install https://github.com/antononcube/Raku-DSL-Entity-WeatherData.git

Examples

Here are examples of recognizing different types of data acquisition related specifications:

use DSL::Entity::WeatherData;
use DSL::Entity::WeatherData::Grammar;
my $pCOMMAND = DSL::Entity::WeatherData::Grammar;
$pCOMMAND.set-resources(DSL::Entity::WeatherData::resource-access-object());

say $pCOMMAND.parse('MaxTemperature');
# 「MaxTemperature」
#  weather-data-entity-command => 「MaxTemperature」
#   entity-variable-name => 「MaxTemperature」
#    0 => 「MaxTemperature」
#     entity-name-part => 「MaxTemperature」
say $pCOMMAND.parse('cloud cover fraction');
# 「cloud cover fraction」
#  weather-data-entity-command => 「cloud cover fraction」
#   entity-variable-name => 「cloud cover fraction」
#    0 => 「cloud cover fraction」
#     entity-name-part => 「cloud」
#     entity-name-part => 「cover」
#     entity-name-part => 「fraction」
say $pCOMMAND.parse('KACQ');
# 「KACQ」
#  weather-data-entity-command => 「KACQ」
#   entity-station-name => 「KACQ」
#    0 => 「KACQ」
#     entity-name-part => 「KACQ」

References

Datasets

[WRI1] Wolfram Research (2007), WeatherData, (introduced 2007), (updated 2016), Wolfram Language function.

[WRI2] Wolfram Research, Inc., WeatherData Source Information.

Packages

[AAp1] Anton Antonov, DSL::Shared Raku package, (2020), GitHub/antononcube.

[AAp2] Anton Antonov, DSL::Entity::Geographics Raku package, (2021), GitHub/antononcube.

[AAp3] Anton Antonov, DSL::Entity::Jobs Raku package, (2021), GitHub/antononcube.

[AAp4] Anton Antonov, DSL::Entity::Foods Raku package, (2021), GitHub/antononcube.

[AAp5] Anton Antonov, Data::ExampleDatasets Raku package, (2021), GitHub/antononcube.

raku-dsl-entity-weatherdata's People

Contributors

antononcube avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.