OpenLLM-France/wikimedia huggingface dataset:
# Programming AI with Leaf/Development/RSS Feeds for Weather, News and Sports
## RSS Weather, News and Sports feed

So you want your Leaf to tell you what the weather is like and the forecast for tomorrow? Thanks to Dr. Bruce and Mr. Gary Malolepsy this is easy. The RSS function also allows for news and sport news to be read and I will show you the commands in the end. (For some reason the sports function seems to be broken at the moment, I will update if/when I get it working)
Just follow these instructions and you will have Leaf telling you weather and news in no time. I assume you have a working copy of the Leaf AI platform.
First, make backup copies of the following files that we will be editing:
* Leaf.lisp
* Leaf Interface.lisp
* Speech.xml
You are going to need the RSS package from the Yahoo Leaf group at http://tech.groups.yahoo.com/group/leaf_an_AI_robot/files/ scroll down and you will find it.
Download and unzip the RSS.lisp to your Leaf folder and the IMessDLL.dll into your system folder (c:\windows\system32) Open up your Speech.xml and add <P>forecast</P> under the line that says <P>this is a dragon</P> You can now save and close the file.
"forecast" is going to be our keyword for making Leaf download and tell us what the weather is like and forecast tomorrows weather. Now open up RSS.lisp and copy everything with ctrl+a and then ctrl+c to copy everything into your computers clipboard, then open your Leaf Interfaces.lisp and scroll to the bottom where you will paste the clipboard into Leaf Interfaces.lisp
Save and then hit compile in your File menu. Close Leaf Interfaces.lisp and open Leaf.lisp, because we're now going to add the function that tells Leaf to listen for the keyword "forecast" and what to do when he hears it.
So, open up Leaf.lisp and use the find function, it's in the Edit menu. Write "this is Bart" without the "" characters.
You can copy and paste this section under the bart function:
Just change YOURZIP to your local zip code.
To also make Leaf able to tell you news, add this code under the last one you made:
And add <P>news</P> to your Speech.xml under <P>forecast</P> Now compile Leaf.lisp using the File menu. There you have it, Leaf can now tell you the local weather and tomorrows forecast as well as the latest news.
# MediaWiki User Guide/Search

MediaWiki offers various search capabilities.

## Overview

At a glance:
* Plain text search
* If CirrusSearch is enabled:
** Search using regular expressions with "insource"
*** insource:/regexp/
*** insource:/regexp/i -- case insensitive
** Search incategory:
** Search deepcat:
** Search intitle:
** And more

## In source

Examples:
* insource:{{template
    plain text search
* insource:/== Pronunciation/
    regular expression
* insource:/== Etymology.*Pronunciation/
    spans multiple rows
* insource:/\{\{template/
    escaped {
Links:
* mw:Help:CirrusSearch#Insource

## In title

Examples:
* intitle:/mus.*rat/
    regular expression
* intitle:/mus.*rat$/
    does not work; $ not supported
Links:
* mw:Help:CirrusSearch#Intitle and incategory

## In category

Examples:
* incategory:"English adjectives" muskrat
Links:
* mw:Help:CirrusSearch#Intitle and incategory

## Negation

Using minus ("-").
Examples:
* incategory:"English adjectives" -muskrat
(The example is not particularly meaningul; better find a better one.)
Note: This seems to work at least in some setups or for some versions but there is apparently no mention of it in mw:Help:CirrusSearch.

## In other books

* Regular expressions
* JavaScript/Regular expressions

## External links

* Meta:Help:Searching
* mw:Help:CirrusSearch
# MediaWiki User Guide/Sections and Headings

Headings are created using sequences of "=" characters, placed before the heading title and after the heading title, on the same line. The level of headings is determined by the number of "=" characters.
Examples:
| Level | Example |
| 2. | ==Plants== |
| 3. | ===Plants=== |
| 4. | ====Plants==== |

## Start level: 2

Do not use headings of level 1, such as "=Title="; start with level 2 instead. The heading at level 1 is used for the title of the page.

## Maximum level: 6

The maximum level of a heading is 6, rendered using ======Heading L6======. Entering a heading with 7 equals-signs such as =======Heading L7======= results in the creation of a heading of the level 6, with one equal-sign becoming part of the text of the heading: "=Heading L7=".

## Spaces

Depending on the convention that users and editors adopt, there can be any number of spaces between the "=" characters and the title.
An example without spaces:
An example with spaces:

## Table of contents

By default, the titles of headings appear in the table of contents, shown at the top of the page. To prevent having a table of contents, put the "__NOTOC__" sequence of characters into the page. To force the presence of table of contents on a specific place of the page, use "__TOC__".

## Headings not in TOC

There is no simple way to make a heading not appear in the table of contents, and this was stated as being by design. It may, however, be possible to write a small custom extension to enable this functionality.

## Customizing TOC

There are various ways how to customize the table of contents. For instance, to place it to the right, use:

## Editability of sections

By default, all sections are editable separately, without the need to see the complete text of the page.
To make all the sections on a page non-editable, place __NOEDITSECTION__ anywhere on the page.
There is no simple way to make a single section non-editable, AFAIK.

## Bibliography

* Meta:Help:Section
# MediaWiki User Guide/References

References can be used to cite sources.
To refer to a source in the middle of the text, follow this example:
or if a named reference has already been used before in the same page:
To list all the sources referred to in the text, after a second level heading titled "References":

## Bibliography

* Meta:Help:Footnotes
# MediaWiki User Guide/Sound files

The chapter on sound files is yet to be written. In the meantime, you can have a look at how e.g. Wiktionary shows pronunciation sound files to users.
# MediaWiki User Guide/Lists

Lists formatting:
Bullet lists:
| Example Syntax | Example Output |
| * a ** b ** c *** d | a b c d |
Numbered lists:
| Example Syntax | Example Output |
| # a ## b ## c ### d | a b c d |
Definition lists:
| Example Syntax | Example Output |
| ; defined term : definition ; defined term 2 : definition 2 | defined termdefinition defined term 2definition 2 |
Mixed lists:
| Example Syntax | Example Output |
| * a *# b *# c | a b c |
Lists inside tables:
| Example Syntax | Example Output |
| {| class="wikitable" ! Heading a ! Heading b |- | * a1 * a2 | |} | Column1 Heading Column2 Heading r1c1 r1c2 r2c1 r2c2 |
# MediaWiki User Guide/Namespaces

Namespace is the part of the name of the page before the first ":". The typical page has no ":" in its name, and is thus said to be in the mainspace.
Some namespaces--native ones--are automatically created by the MediaWiki software while others can be created by the administrators of the particular wiki site. The native namespaces include "Talk:", "User:", "Category:", "Template:", and others; they total 18 namespaces.
When searching the wiki, you can restrict the search to a particular namespace.
# MediaWiki User Guide/Tables

Tables:
Dense format:
Lists in tables:
Links:
# MediaWiki User Guide/Mathematics

You can enter mathematical formulas into a wiki, using a math tag, such as:
The formulas are marked up in the TeX markup, the markup of a complex typesetting system specialized on mathematics.
Before you start writing formulas in this markup, you can consider writing the simpler ones in HTML and wiki markup, such as:
    f(x) = b + c / d
which is marked up as

## Examples

To get started, follow the examples below.
Examples of mathematical markup :
| No. | Desired Effect | Markup |
| 1. | $\alpha$ | <math>\alpha</math> |
| 2. | ${\sqrt {2}}$ | <math>\sqrt{2}</math> |
| 3. | ${\sqrt {1-e^{2}}}$ | <math>\sqrt{1-e^2}</math> |
| 4. | ${\frac {2}{4}}=0.5$ | <math>\frac{2}{4}=0.5</math> |
| 5. | $\sum _{k=1}^{N}k^{2}$ | <math>\sum_{k=1}^N k^2</math> |
| 6. | $\int \limits _{1}^{3}{\frac {e^{3}/x}{x^{2}}}\,dx$ | <math>\int\limits_{1}^{3}\frac{e^3/x}{x^2}\, dx</math> |
| 7. | ${\begin{bmatrix}0&\cdots &0\\\vdots &\ddots &\vdots \\0&\cdots &0\end{bmatrix}}$ | <math>\begin{bmatrix} 0 & \cdots & 0 \\ \vdots & \ddots & \vdots \\ 0 & \cdots & 0 \end{bmatrix}</math> |
| 8. | ${\begin{pmatrix}x&y\\z&v\end{pmatrix}}$ | <math>\begin{pmatrix} x & y \\ z & v \end{pmatrix}</math> |

## Greek and symbols

There is a way of marking up Greek characters and special symbols, as the following table shows.
Markup of Greek alphabet and some symbols :
| Desired Effect | Markup |
| α β γ δ ε ζ η θ ι κ λ μ ν ξ ο π ρ σ ς τ υ φ χ ψ ω Γ Δ Θ Λ Ξ Π Σ Φ Ψ Ω | &alpha; &beta; &gamma; &delta; &epsilon; &zeta; &eta; &theta; &iota; &kappa; &lambda; &mu; &nu; &xi; &omicron; &pi; &rho; &sigma; &sigmaf; &tau; &upsilon; &phi; &chi; &psi; &omega; &Gamma; &Delta; &Theta; &Lambda; &Xi; &Pi; &Sigma; &Phi; &Psi; &Omega; |
| ∫ ∑ ∏ √ − ± ∞ ≈ ∝ = ≡ ≠ ≤ ≥ × · ÷ ∂ ′ ″ ∇ ‰ ° ∴ Ø ø ∈ ∉ ∩ ∪ ⊂ ⊃ ⊆ ⊇ ¬ ∧ ∨ ∃ ∀ ⇒ ⇔ → ↔ ↑ ℵ - – — | &int; &sum; &prod; &radic; &minus; &plusmn; &infin; &asymp; &prop; {{=}} &equiv; &ne; &le; &ge; &times; &middot; &divide; &part; &prime; &Prime; &nabla; &permil; &deg; &there4; &oslash; &oslash; &isin; &notin; &cap; &cup; &sub; &sup; &sube; &supe; &not; &and; &or; &exist; &forall; &rArr; &hArr; &rarr; &harr; &uarr; &alefsym; - &ndash; &mdash; |

## Bibliography

* Meta:Help:Formula
# RCA Open Source Application: ROSA Manual/Demonstration of the Base Model/Step 2/Maintain Capacity

* Introduction
* Limitations of ROSA
* RCA Modeling
** Cost Objects in an RCA Model
** Planning Outputs and Primary Costs
** Relationships in an RCA Model
** Storyboard of the Get Well Manufacturing Model
* Demonstration of the Base Model
** Step 1: Discover RCA
*** Analyze Rates
*** Analyze Resource Pools
*** Analyze Product Cost
** Step 2: Play with the RCA Model
*** Maintain Resource Pools
*** Maintain Products
*** Maintain Primary Cost
*** Maintain Consumptions
*** Maintain Capacity
*** Update Rates
* Unit 5 - Populating Your Own RCA Database
** Step 3: Build an RCA Model
*** Import Master Data and Values
*** Importing of Resource Pool & Business Process Master Data from a source file
*** Importing of Product Master Data from a source file
*** Importing of Primary Costs & Consumption Quantities from a source file
*** Importing of Capacity Quantities from a source file
*** Final Step
* Appendix A. Palo Installation Guide

### DEMONSTRATION OF THE BASE MODEL
#### Step 2: Play with the RCA Model - Maintain Capacity

This template allows for the entering and updating of capacity quantities.
The Capacity template represents the total amount of resources available. Capacity differs from output, as output represents the demand from consuming resource pools or other cost objects.
Both Capacity and Output are used as denominators in calculating the resource pool rates. Capacity is used as the denominator for fixed cost rates and Output is used for proportional cost rates. A resource pool’s output quantity is calculated by the model, based on the total of all individual consumption relationships.
Capacity must be maintained separately by the user.
Important Note: When dealing with Business Processes, the Capacity and Output must be the same. For further explanation, see the Calculate Rates section on page 42. For all resource pools, Output could be lower than capacity but it should never be higher. In RCA, capacity should always reflect the theoretical capacity of the resource(s).
Capacity would be changed whenever new resources change the potential output of a resource pool (machines, people, space, etc.).
Select Year from the selection box. No other selections are required as all resource pools and business processes will be listed as row titles.
Individual data cells can now be changed as required and the result will be posted to the Palo cube. Do not make changes in the Totals Row. It will automatically be updated.
Note: Recalculation of the rates on the Rate Tab is required when you make changes on this screen.
# RCA Open Source Application: ROSA Manual/Demonstration of the Base Model/Step 2/Maintain Products

* Introduction
* Limitations of ROSA
* RCA Modeling
** Cost Objects in an RCA Model
** Planning Outputs and Primary Costs
** Relationships in an RCA Model
** Storyboard of the Get Well Manufacturing Model
* Demonstration of the Base Model
** Step 1: Discover RCA
*** Analyze Rates
*** Analyze Resource Pools
*** Analyze Product Cost
** Step 2: Play with the RCA Model
*** Maintain Resource Pools
*** Maintain Products
*** Maintain Primary Cost
*** Maintain Consumptions
*** Maintain Capacity
*** Update Rates
* Unit 5 - Populating Your Own RCA Database
** Step 3: Build an RCA Model
*** Import Master Data and Values
*** Importing of Resource Pool & Business Process Master Data from a source file
*** Importing of Product Master Data from a source file
*** Importing of Primary Costs & Consumption Quantities from a source file
*** Importing of Capacity Quantities from a source file
*** Final Step
* Appendix A. Palo Installation Guide

### DEMONSTRATION OF THE BASE MODEL
#### Step 2: Play with the RCA Model - Maintain Products

This template is used to update, add, or delete for the purposes of maintaining an individual product.
The functionality of the Load, Update, Create, and Delete icons across the ROSA menu bar are explained as follows:
* To Load a Product
The Load icon is a button that allows for manual loading of data or a refresh of the template.
* To Update a Product
Select a Product, make sure it has loaded properly by referencing the green status line at the bottom of the screen and then make your changes to the description.
Tab out of the field and click on “Update”
Observe the green status line for confirmation of the transaction.
* To Create a new Product
Go to the field marked “…or New” (located beneath the Product field), enter the new product number and enter a description in the Description field.
Tab out of the field and click on “Create”
Observe the green status line for confirmation of the transaction.
* To Delete a Product
Select the applicable Product. Make sure it has loaded properly by referencing the green status line at the bottom of the screen and click on “Delete”.
Observe the green status line for confirmation of the transaction.
Tip: For each process completed a green status, line will appear towards the bottom of the screen to confirm your entry. For example– Product “Products” has been successfully loaded.
# RCA Open Source Application: ROSA Manual/Demonstration of the Base Model/Step 2/Maintain Primary Cost

* Introduction
* Limitations of ROSA
* RCA Modeling
** Cost Objects in an RCA Model
** Planning Outputs and Primary Costs
** Relationships in an RCA Model
** Storyboard of the Get Well Manufacturing Model
* Demonstration of the Base Model
** Step 1: Discover RCA
*** Analyze Rates
*** Analyze Resource Pools
*** Analyze Product Cost
** Step 2: Play with the RCA Model
*** Maintain Resource Pools
*** Maintain Products
*** Maintain Primary Cost
*** Maintain Consumptions
*** Maintain Capacity
*** Update Rates
* Unit 5 - Populating Your Own RCA Database
** Step 3: Build an RCA Model
*** Import Master Data and Values
*** Importing of Resource Pool & Business Process Master Data from a source file
*** Importing of Product Master Data from a source file
*** Importing of Primary Costs & Consumption Quantities from a source file
*** Importing of Capacity Quantities from a source file
*** Final Step
* Appendix A. Palo Installation Guide

### DEMONSTRATION OF THE BASE MODEL
#### Step 2: Play with the RCA Model - Maintain Primary Cost

This template is used to update, add, or delete for the purposes of maintaining primary costs.
This maintenance function is for minor changes only and if any changes are made here, a recalculation of rates will be required.
Primary costs, as indicated earlier are costs for resources that are procured externally and are required by the resource pool under review to produce its output. The report displays primary cost in Dollars per resource pool or business process, by its fixed or proportional split, by the cost (GL) element and by month for the particular year selected by the user.
The three selections located across the top that you have to select are Res.Pool or Bus.Process, Year, and Value. The Value field allows you to select between fixed and proportional cost. Changes you make on this screen will update the Palo database automatically.
Again, for each process completed, observe the green status line for confirmation of your entry.
For example – Primary costs for selected Resource Pool has been successfully loaded.
This table also provides totals for the rows (i.e., cost elements) and columns (i.e., months) – values cannot be edited in these totals fields. You may enter values directly into the value cells to change the figure. The result of your changes can also be viewed by using Analyze Resource Pools and Business Processes report (see Figure 23).
# RCA Open Source Application: ROSA Manual/Installation of Palo Databases

* Introduction
* Limitations of ROSA
* RCA Modeling
** Cost Objects in an RCA Model
** Planning Outputs and Primary Costs
** Relationships in an RCA Model
** Storyboard of the Get Well Manufacturing Model
* Demonstration of the Base Model
** Step 1: Discover RCA
*** Analyze Rates
*** Analyze Resource Pools
*** Analyze Product Cost
** Step 2: Play with the RCA Model
*** Maintain Resource Pools
*** Maintain Products
*** Maintain Primary Cost
*** Maintain Consumptions
*** Maintain Capacity
*** Update Rates
* Unit 5 - Populating Your Own RCA Database
** Step 3: Build an RCA Model
*** Import Master Data and Values
*** Importing of Resource Pool & Business Process Master Data from a source file
*** Importing of Product Master Data from a source file
*** Importing of Primary Costs & Consumption Quantities from a source file
*** Importing of Capacity Quantities from a source file
*** Final Step
* Appendix A. Palo Installation Guide

### Installation of Palo Databases

For section 5, you will need the database “ROSA_Base_Model_Database” and “ROSA_n” Excel file.
Install the database as follows:
The Palo server and the Excel Add-In must be properly installed before continuing with the next step. Download and install Palo from Jedox.
Stop the Palo Server Manager; find the icon in the Task Bar (System tray) as shown in image here.
Paste the supplied database in the following folder:
C:\Program_Files\Jedox\Palo\data
Or
C:\Documents_and_Settings\All_Users\Documents\Jedox\Palo\data
The path will depend on your Excel version. Copy the database into the same folder as where Palo has put their demo databases.
Start the Palo Server Manager again. You should now see the database on the Palo Modeller under the Localhost server.
Note: The server “Localhost” must be registered using the Palo Wizard in the Modeller.
# RCA Open Source Application: ROSA Manual/Demonstration of the Base Model/Step 2

* Introduction
* Limitations of ROSA
* RCA Modeling
** Cost Objects in an RCA Model
** Planning Outputs and Primary Costs
** Relationships in an RCA Model
** Storyboard of the Get Well Manufacturing Model
* Demonstration of the Base Model
** Step 1: Discover RCA
*** Analyze Rates
*** Analyze Resource Pools
*** Analyze Product Cost
** Step 2: Play with the RCA Model
*** Maintain Resource Pools
*** Maintain Products
*** Maintain Primary Cost
*** Maintain Consumptions
*** Maintain Capacity
*** Update Rates
* Unit 5 - Populating Your Own RCA Database
** Step 3: Build an RCA Model
*** Import Master Data and Values
*** Importing of Resource Pool & Business Process Master Data from a source file
*** Importing of Product Master Data from a source file
*** Importing of Primary Costs & Consumption Quantities from a source file
*** Importing of Capacity Quantities from a source file
*** Final Step
* Appendix A. Palo Installation Guide

### DEMONSTRATION OF THE BASE MODEL
#### Step 2: Play with the RCA Model

In this section, six different templates are discussed that allow the user to change the existing data or add new data in the Get Well model.
These templates allow the user to examine the sensitivity of the Get Well model by means of data changes to be made to its operations so that further evaluation and alternative planning scenarios can take place.
The six maintenance templates are:
    1. Maintain Resource Pools
    2. Maintain Products
    3. Maintain Primary Cost
    4. Maintain Consumptions (i.e. Secondaries)
    5. Maintain Capacity
    6. Calculate Rates
# Minecraft/Red Sand

Minecraft
Blocks | Items | Mobs
Structures
Miscellaneous
Guides
Found in the badlands.

## Use

Can hold cacti, be turned to glass and red sandstone and suffocate enemies in a single-use trap. That is about it.

## Crafting

Crafting recipe:
| Red Sand | Red Sand |
| Red Sand | Red Sand |
This makes red sanstone.
# Minecraft/Red Sandstone

Minecraft
Blocks | Items | Mobs
Structures
Miscellaneous
Guides
Can be used as decoration.
# Minecraft/Salmon
## Salmon

Minecraft
Blocks | Items | Mobs
Structures
Miscellaneous
Guides
A type of fish found in rivers.

## Abilities and strengths/weaknesses

Aquatic
Can swim in water, but will die if it is out of the water for too long. Takes increased damage from the impaling enchantment.

### Drops

* 1 raw salmon
* 0 -1 bones (on bedrock edition)
* 0 - 1 bonemeal (on java edition)
* 1 - 3 exp. points

## Description

A fish. I think that's everything.

## Strategies

None

## Mobs

* Animals
       Sheep
       Pig
       Cow
       Chicken
       Bat
       Cat
       Ocelot
       Wolf
       Fox
       Horse
       Donkey
       Mule
       Llama
       Bunny
       Frog
       Axolotl
       Tadpole
       Panda
       Mooshroom
* Monsters
       Creeper
       Zombie
       Skeleton
       Stray
       Witch
       Slime
       Phantom
       Warden
* Ocean
       Cod
       Pufferfish
       Salmon
       Tropical Fish
       Squid
       Glow Squid
       Dolphin
       Turtle
       Guardian
       Elder Guardian
* Nether
       Blaze
       Ghast
       Piglin
       Zombified Piglin
       Hoglin
       Strider
       Wither Skeleton
* End
       Enderman
       Endermite
       Shulker
* Illager/Villagers
       Villager
       Wandering Trader
       Illager
       Pillager
       Evoker
       Vex
       Ravanger
* Utility
       Snow Golem
       Iron Golem
       Allay
* Bosses
       Wither
       Ender Dragon
* Secret mobs
       Npc
# Minecraft/Pufferfish

    This article is about the mob. For the item of the same name, see pufferfish (item).

## Pufferfish

Minecraft
Blocks | Items | Mobs
Structures
Miscellaneous
Guides
A rare type of fish found in warm ocean.

## Abilities and strengths/weaknesses

Aquatic
Can swim in water, but will die if it is out of the water for too long. Takes increased damage from the impaling enchantment.

### Drops

* 1 pufferfish
* 0 - 1 bones (on bedrock edition)
* 0 - 1 bonemeal (on java edition)
* 1 - 3 exp. points

## Description

Swimming too close to it will cause it to inflate, damaging you and inflicting the poison debuff.

## Strategies

None

## Mobs

* Animals
       Sheep
       Pig
       Cow
       Chicken
       Bat
       Cat
       Ocelot
       Wolf
       Fox
       Horse
       Donkey
       Mule
       Llama
       Bunny
       Frog
       Axolotl
       Tadpole
       Panda
       Mooshroom
* Monsters
       Creeper
       Zombie
       Skeleton
       Stray
       Witch
       Slime
       Phantom
       Warden
* Ocean
       Cod
       Pufferfish
       Salmon
       Tropical Fish
       Squid
       Glow Squid
       Dolphin
       Turtle
       Guardian
       Elder Guardian
* Nether
       Blaze
       Ghast
       Piglin
       Zombified Piglin
       Hoglin
       Strider
       Wither Skeleton
* End
       Enderman
       Endermite
       Shulker
* Illager/Villagers
       Villager
       Wandering Trader
       Illager
       Pillager
       Evoker
       Vex
       Ravanger
* Utility
       Snow Golem
       Iron Golem
       Allay
* Bosses
       Wither
       Ender Dragon
* Secret mobs
       Npc