Plan Documentation

Text Plans (0.9.2)

Plans to Get a Text


Custom Text

Summery

Make a custom text

Description

Make a text character-by-character.

Example

x = {Welcome!☺}{Welcome!☺}

Fill Text

Summery

Fill a text with characters

Description

Fill a text of size n with characters in text a. If enough characters are not available in a, the last character is repeated.

Example

a = {Welcome};n = {9}{Welcomeee}

Import From Text File

Summery

Import a text from text file

Description

Import a text from a text file at file name.

Example

file name = {tests\text.txt}{Texts need to be refreshed!}

Import From Network

Summery

Import a text from network with a get request

Description

Request and import a text at network address with a get request.

Example

address = {https://www.npr.org}{...}

Convert From Array

Summery

Convert from array

Description

Make a text from array x by converting array values to text. The result value tokens are decorated with delimiter, lead tag and end tag.

Example

x = {1,2,3,4,5,6,7};delimiter = { | }{1 | 2 | 3 | 4 | 5 | 6 | 7}
x = {1,2,3,4,5,6,7};lead tag = {<};end tag = {>}{<1><2><3><4><5><6><7>}

Convert From Matrix

Summery

Convert from matrix

Description

Make a text from matrix x by converting matrix elements to text. The result element tokens in a row are separated by elem delimiter and the result rows by row delimiter.

Example

x = {1,2,3;4,5,6};elem delimiter = { | };row delimiter = { ; }{1 | 2 | 3 ; 4 | 5 | 6}

Gemini - Text Generation

Summery

Generate a text using Gemini API (third party)

Description

Generate a text with a prompt provided by a user message and a system message using Gemini API and authorized by an api key.

Notes:

  1. To acquire an api key, go to https://aistudio.google.com/apikey.
  2. To learn more about the api parameters, go to https://ai.google.dev/gemini-api/docs/text-generation.
  3. This plan requests data from Google servers by sharing the plan parameters. Gemini API Terms of Service is available at https://ai.google.dev/gemini-api/terms.
  4. Network timeout (Settings/Connection Timeout) may need to be raised to allow enough time for API response to arrive.
  5. Plan to generate the complete API response is available under Text Plans/Get/Response of Third-Party API.

Example

user message = {Write a haiku about recursion in programming.};system message = {You are a cat.};api key = {...}{...}
user message = {Write a calculator program in C++.};system message = {};api key = {...}{...}

Gemini - Vision

Summery

Generate a text based on images using Gemini API (third party)

Description

Generate a text with a prompt provided by a user message and a system message based on images imagei using Gemini API and authorized by an api key.

Notes:

  1. To acquire an api key, go to https://aistudio.google.com/apikey.
  2. To learn more about the api parameters, go to https://ai.google.dev/gemini-api/docs/vision.
  3. This plan requests data from Google servers by sharing the plan parameters. Gemini API Terms of Service is available at https://ai.google.dev/gemini-api/terms.
  4. Network timeout (Settings/Connection Timeout) may need to be raised to allow enough time for API response to arrive.
  5. Plan to generate the complete API response is available under Text Plans/Get/Response of Third-Party API.

Example

user message = {What is in these photos?};system message = {You are a cat.};api key = {...};image0 = {flower(100,100)};image1 = {circle(50,blue)}{...}

OpenAI - Text Generation

Summery

Generate a text using OpenAI API (third party)

Description

Generate a text with a prompt provided by a user message and a system message using OpenAI API and authorized by an api key.
A number of optional parameters are supported. freq_penalty is a value between -2.0 and 2.0 where a higher value leads to less repetitive tokens, max_tokens sets an upper bound for the number of generated tokens, and pres_penalty is a value between -2.0 and 2.0 where a higher value leads to a higher chance for the model to talk about new things. temperature is a value between 0 and 2 where a higher value leads to more random and less deterministic output and top_p is a value between 0 and 1 and an alternative to temperature parameter.

Notes:

  1. To acquire an api key, go to https://platform.openai.com.
  2. To learn more about the api parameters, go to https://platform.openai.com/docs/api-reference/chat.
  3. This plan requests data from OpenAI servers by sharing the plan parameters. Terms of Use for OpenAI is available at https://openai.com/policies/terms-of-use.
  4. Network timeout (Settings/Connection Timeout) may need to be raised to allow enough time for API response to arrive.
  5. Plan to generate the complete API response is available under Text Plans/Get/Response of Third-Party API.

Example

user message = {Write a haiku about recursion in programming.};system message = {You are a cat.};api key = {...}{...}
user message = {Write a calculator program in C++.};system message = {You are a helpful assistant.};api key = {...}{...}

OpenAI - Vision

Summery

Generate a text based on images using OpenAI API (third party)

Description

Generate a text with a prompt provided by a user message and a system message based on images imagei using OpenAI API and authorized by an api key.

Notes:

  1. To acquire an api key, go to https://platform.openai.com.
  2. To learn more about the api parameters, go to https://platform.openai.com/docs/guides/vision.
  3. This plan requests data from OpenAI servers by sharing the plan parameters. Terms of Use for OpenAI is available at https://openai.com/policies/terms-of-use.
  4. Network timeout (Settings/Connection Timeout) may need to be raised to allow enough time for API response to arrive.
  5. Plan to generate the complete API response is available under Text Plans/Get/Response of Third-Party API.

Example

user message = {What is in these photos?};system message = {You are a cat.};api key = {...};image0 = {flower(100,100)};image1 = {circle(50,blue)}{...}

DeepSeek - Text Generation

Summery

Generate a text using DeepSeek API (third party)

Description

Generate a text with a prompt provided by a user message and a system message using DeepSeek API and authorized by an api key.
A number of optional parameters are supported. freq_penalty is a value between -2.0 and 2.0 where a higher value leads to less repetitive tokens, max_tokens sets an upper bound for the number of generated tokens, and pres_penalty is a value between -2.0 and 2.0 where a higher value leads to a higher chance for the model to talk about new things. temperature is a value between 0 and 2 where a higher value leads to more random and less deterministic output and top_p is a value between 0 and 1 and an alternative to temperature parameter.

Notes:

  1. To acquire an api key, go to https://platform.deepseek.com/api_keys.
  2. To learn more about the api parameters, go to https://api-docs.deepseek.com/api/create-chat-completion.
  3. This plan requests data from DeepSeek servers by sharing the plan parameters. Terms of Use for DeepSeek is available at DeepSeek Open Platform Terms of Service.
  4. Network timeout (Settings/Connection Timeout) may need to be raised to allow enough time for API response to arrive.
  5. Plan to generate the complete API response is available under Text Plans/Get/Response of Third-Party API.

Example

user message = {Write a haiku about recursion in programming.};system message = {You are a cat.};api key = {...}{...}
user message = {Write a calculator program in C++.};system message = {You are a helpful assistant.};api key = {...}{...}

Alpha Vantage - Response

Summery

Request output from Alpha Vantage API (third party)

Description

Produce raw output of a historical price request of a symbol using Alpha Vantage API. Requests require a function and are authorized by an api key. Some functions may also require definition of an exchange market or a time interval. If not_adjusted is empty, the data is adjusted by historical split and dividend events. If no_extended_hours is empty, the output will include the extended (pre- and post- market) trading hours (4:00am to 8:00pm Eastern Time for the US market). If is_full is empty, output is in compact form with the more recent data points in the time series.

Notes:

  1. To acquire an api key, go to https://www.alphavantage.co/support.
  2. To learn more about the api parameters, go to https://www.alphavantage.co/documentation.
  3. This plan requests data from Alpha Vantage servers by sharing the plan parameters. Alpha Vantage privacy policy is available at https://www.alphavantage.co/privacy.
  4. Network timeout (Settings/Connection Timeout) may need to be raised to allow enough time for API response to arrive.

Example

function = {TIME_SERIES_DAILY};symbol = {IBM};market = {};interval = {};api key = {demo}{...}
function = {CRYPTO_INTRADAY};symbol = {ETH};market = {USD};interval = {5min};api key = {demo}{...}

Wolfram Alpha - Response

Summery

Request output from Wolfram Alpha API (third party)

Description

Produce raw output of a query input using Wolfram Alpha API and authorized by an appid.

Notes:

  1. To acquire an appid, go to https://developer.wolframalpha.com.
  2. To learn more about the api parameters, go to https://products.wolframalpha.com/api/documentation.
  3. This plan requests data from Wolfram|Alpha servers by sharing the plan parameters. Wolfram|Alpha API Terms of Use is available at https://products.wolframalpha.com/api/termsofuse.
  4. Network timeout (Settings/Connection Timeout) may need to be raised to allow enough time for API response to arrive.

Example

input = {population of france};appid = {DEMO}{...}

Gemini - Text Generation Response

Summery

Request text generation output from Gemini API (third party)

Description

Produce raw output of a text generation request with a prompt provided by a user message and a system message using Gemini API and authorized by an api key.

Notes:

  1. To acquire an api key, go to https://aistudio.google.com/apikey.
  2. To learn more about the api parameters, go to https://ai.google.dev/gemini-api/docs/text-generation.
  3. This plan requests data from Google servers by sharing the plan parameters. Gemini API Terms of Service is available at https://ai.google.dev/gemini-api/terms.
  4. Network timeout (Settings/Connection Timeout) may need to be raised to allow enough time for API response to arrive.

Example

user message = {Write a haiku about recursion in programming.};system message = {You are a cat.};api key = {...}{...}
user message = {Write a calculator program in C++.};system message = {};api key = {...}{...}

Gemini - Vision Response

Summery

Request vision output from Gemini API (third party)

Description

Produce raw output of a vision request with a prompt provided by a user message and a system message based on images imagei using Gemini API and authorized by an api key.

Notes:

  1. To acquire an api key, go to https://aistudio.google.com/apikey.
  2. To learn more about the api parameters, go to https://ai.google.dev/gemini-api/docs/vision.
  3. This plan requests data from Google servers by sharing the plan parameters. Gemini API Terms of Service is available at https://ai.google.dev/gemini-api/terms.
  4. Network timeout (Settings/Connection Timeout) may need to be raised to allow enough time for API response to arrive.

Example

user message = {What is in these photos?};system message = {You are a cat.};api key = {...};image0 = {flower(100,100)};image1 = {circle(50,blue)}{...}

OpenAI - Image Generation Response

Summery

Produce image generation output from OpenAI API (third party)

Description

Produce raw output of an image generation request for a w×h image with a prompt using OpenAI API and authorized by an api key.

Notes:

  1. To acquire an api key, go to https://platform.openai.com.
  2. To learn more about the api parameters, go to https://platform.openai.com/docs/api-reference/images/create.
  3. This plan requests data from OpenAI servers by sharing the plan parameters. Terms of Use for OpenAI is available at https://openai.com/policies/terms-of-use.
  4. Network timeout (Settings/Connection Timeout) may need to be raised to allow enough time for API response to arrive.

Example

w = {1024};h = {1024};prompt = {A photograph of a fancy cat with a hat.};api key = {...}{...}

OpenAI - Image Edit Response

Summery

Produce image edit output from OpenAI API (third party)

Description

Produce raw output of an image edit request on image x by changing a masked area, described by transparent areas in image mask, with a prompt using OpenAI API and authorized by an api key. Mask is resized by adding transparent rows and columns to match the size of image x.

Notes:

  1. To acquire an api key, go to https://platform.openai.com.
  2. To learn more about the api parameters, go to https://platform.openai.com/docs/api-reference/images/createEdit.
  3. This plan requests data from OpenAI servers by sharing the plan parameters. Terms of Use for OpenAI is available at https://openai.com/policies/terms-of-use.
  4. Network timeout (Settings/Connection Timeout) may need to be raised to allow enough time for API response to arrive.

Example

x = {flower(512,512)};mask = {circle(200,white)};prompt = {A flower with fiery corners.};api key = {...}{...}

OpenAI - Image Variation Response

Summery

Produce image variation output from OpenAI API (third party)

Description

Produce raw output of an image variation request on image x using OpenAI API and authorized by an api key.

Notes:

  1. To acquire an api key, go to https://platform.openai.com.
  2. To learn more about the api parameters, go to https://platform.openai.com/docs/api-reference/images/createVariation.
  3. This plan requests data from OpenAI servers by sharing the plan parameters. Terms of Use for OpenAI is available at https://openai.com/policies/terms-of-use.
  4. Network timeout (Settings/Connection Timeout) may need to be raised to allow enough time for API response to arrive.

Example

x = {flower(512,512)};api key = {...}{...}

OpenAI - Text Generation Response

Summery

Produce text generation output from OpenAI API (third party)

Description

Produce raw output of a text generation request with a prompt provided by a user message and a system message using OpenAI API and authorized by an api key.
A number of optional parameters are supported. freq_penalty is a value between -2.0 and 2.0 where a higher value leads to less repetitive tokens, max_tokens sets an upper bound for the number of generated tokens, and pres_penalty is a value between -2.0 and 2.0 where a higher value leads to a higher chance for the model to talk about new things. temperature is a value between 0 and 2 where a higher value leads to more random and less deterministic output and top_p is a value between 0 and 1 and an alternative to temperature parameter.

Notes:

  1. To acquire an api key, go to https://platform.openai.com.
  2. To learn more about the api parameters, go to https://platform.openai.com/docs/api-reference/chat.
  3. This plan requests data from OpenAI servers by sharing the plan parameters. Terms of Use for OpenAI is available at https://openai.com/policies/terms-of-use.
  4. Network timeout (Settings/Connection Timeout) may need to be raised to allow enough time for API response to arrive.

Example

user message = {Write a haiku about recursion in programming.};system message = {You are a cat.};api key = {...}{...}
user message = {Write a calculator program in C++.};system message = {You are a helpful assistant.};api key = {...}{...}

OpenAI - Vision Response

Summery

Produce vision output from OpenAI API (third party)

Description

Produce raw output of a vision request with a prompt provided by a user message and a system message based on images imagei using OpenAI API and authorized by an api key.

Notes:

  1. To acquire an api key, go to https://platform.openai.com.
  2. To learn more about the api parameters, go to https://platform.openai.com/docs/guides/vision.
  3. This plan requests data from OpenAI servers by sharing the plan parameters. Terms of Use for OpenAI is available at https://openai.com/policies/terms-of-use.
  4. Network timeout (Settings/Connection Timeout) may need to be raised to allow enough time for API response to arrive.

Example

user message = {What is in these photos?};system message = {You are a cat.};api key = {...};image0 = {flower(100,100)};image1 = {circle(50,blue)}{...}

DeepSeek - Text Generation Response

Summery

Produce text generation output from DeepSeek API (third party)

Description

Produce raw output of a text generation request with a prompt provided by a user message and a system message using DeepSeek API and authorized by an api key.
A number of optional parameters are supported. freq_penalty is a value between -2.0 and 2.0 where a higher value leads to less repetitive tokens, max_tokens sets an upper bound for the number of generated tokens, and pres_penalty is a value between -2.0 and 2.0 where a higher value leads to a higher chance for the model to talk about new things. temperature is a value between 0 and 2 where a higher value leads to more random and less deterministic output and top_p is a value between 0 and 1 and an alternative to temperature parameter.

Notes:

  1. To acquire an api key, go to https://platform.deepseek.com/api_keys.
  2. To learn more about the api parameters, go to https://api-docs.deepseek.com/api/create-chat-completion.
  3. This plan requests data from DeepSeek servers by sharing the plan parameters. Terms of Use for DeepSeek is available at DeepSeek Open Platform Terms of Service.
  4. Network timeout (Settings/Connection Timeout) may need to be raised to allow enough time for API response to arrive.

Example

user message = {Write a haiku about recursion in programming.};system message = {You are a cat.};api key = {...}{...}
user message = {Write a calculator program in C++.};system message = {You are a helpful assistant.};api key = {...}{...}

Plans to Reorganize a Text


Copy

Summery

Copy text

Description

Copy characters of text x.

Example

x = {Paternova☺}{Paternova☺}

Resize From End

Summery

Resize text from end

Description

Resize text x to n by cutting or filling with character a from end.

Example

x = {Advanced Algorithm};n = {20};a = {~}{Advanced Algorithm~~}

Resize From Start

Summery

Resize text from start

Description

Resize text x to n by cutting or filling with character a from start.

Example

x = {Advanced Algorithm};n = {20};a = {~}{~~Advanced Algorithm}

Replicate

Summery

Replicate text

Description

Replicate text x by repeating each character m times and the text n times.

Example

x = {In a};m = {2};n = {3}{IInn aaIInn aaIInn aa}

Reverse

Summery

Reverse text

Description

Reverse the order of characters in text x.

Example

x = {Chatterbump}{pmubrettahC}

Remove Characters From Start

Summery

Remove indices counted from start

Description

Remove characters at indices n[k] for each k from text x.

Example

x = {Spreadsheet};n = {2}{Speadsheet}
x = {Spreadsheet};n = {2,0,1,2,1,3}{adsheet}

Remove Characters From End

Summery

Remove indices counted from end

Description

Remove characters at back-indices n[k] for each k from text x.

Example

x = {Makes implementing};n = {2}{Makes implementng}
x = {Makes implementing};n = {2,0,1,2,1,3}{Makes implemen}

Keep Characters From Start

Summery

Keep indices counted from start

Description

Keep only characters at indices n[k] for each k from text x.

Example

x = {Spreadsheet};n = {2}{r}
x = {Spreadsheet};n = {2,0,1,2,1,3}{rSprpe}

Keep Characters From End

Summery

Keep indices counted from end

Description

Keep only characters at back-indices n[k] for each k from text x.

Example

x = {Makes implementing};n = {2}{i}
x = {Makes implementing};n = {2,0,1,2,1,3}{ignint}

Remove Ranges From Start

Summery

Remove index ranges counted from start

Description

Remove characters at indices in ranges [from[k], to[k]] for each k.

Example

x = {Environment};from = {1,3};to = {1,4}{Evonment}

Remove Ranges From End

Summery

Remove index ranges counted from end

Description

Remove characters at back-indices in ranges [from[k], to[k]] for each k.

Example

x = {New Processes};from = {1,3};to = {1,4}{New Procss}

Keep Ranges From Start

Summery

Keep index ranges counted from start

Description

Keep only characters at indices in ranges [from[k], to[k]] for each k.

Example

x = {Environment};from = {1,3};to = {1,4}{nir}

Keep Ranges From End

Summery

Keep index ranges counted from end

Description

Keep only characters at back-indices in ranges [from[k], to[k]] for each k.

Example

x = {New Processes};from = {1,3};to = {1,4}{ese}

Trim Sides

Summery

Trim start and end characters

Description

Remove characters while they are equal to any character in a from start or any character in b from end.

Example

x = { Straightforward.~~};a = { };b = {~}{Straightforward.}
x = { Straightforward.~~};a = {RST };b = {~ward.}{traightfor}

Keep Tokens From Start (by Delimiter)

Summery

Split text by delimiter and keep tokens from start

Description

Split text x by delimiter and keep only tokens at indices n. When provided, the result tokens are decorated with delimiter, lead tag and end tag.

Example

x = {results;123;456;234;987};delimiter = {;};n = {2,3,0}{456234results}
x = {results;123;456;234;987};delimiter = {;};n = {2,3,0};out delimiter = {|}{456|234|results}
x = {results;123;456;234;987};delimiter = {;};n = {2,3,0};out delimiter = { };out lead tag = {<};out end tag = {>}{<456> <234> <results>}

Keep Tokens From End (by Delimiter)

Summery

Split text by delimiter and keep tokens from end

Description

Split text x by delimiter and keep only tokens at back-indices n. When provided, the result tokens are decorated with delimiter, lead tag and end tag.

Example

x = {results;123;456;234;987};delimiter = {;};n = {2,3,0}{456123987}
x = {results;123;456;234;987};delimiter = {;};n = {2,3,0};out delimiter = {|}{456|123|987}
x = {results;123;456;234;987};delimiter = {;};n = {2,3,0};out delimiter = { };out lead tag = {<};out end tag = {>}{<456> <123> <987>}

Keep Tokens From Start (With Tags)

Summery

Split text with tags and keep tokens from start

Description

Split text x with lead tag and end tag and keep only tokens at indices n. When provided, the result tokens are decorated with delimiter, lead tag and end tag.

Example

x = {<results><123><456><234><987>};lead tag = {<};end tag = {>};n = {2,3,0}{456234results}
x = {<results><123><456><234><987>};lead tag = {<};end tag = {>};n = {2,3,0};out delimiter = {|}{456|234|results}
x = {<results><123><456><234><987>};lead tag = {<};end tag = {>};n = {2,3,0};out delimiter = { };out lead tag = {<};out end tag = {>}{<456> <234> <results>}

Keep Tokens From End (With Tags)

Summery

Split text with tags and keep tokens from end

Description

Split text x with lead tag and end tag and keep only tokens at back-indices n. When provided, the result tokens are decorated with delimiter, lead tag and end tag.

Example

x = {<results><123><456><234><987>};lead tag = {<};end tag = {>};n = {2,3,0}{456123987}
x = {<results><123><456><234><987>};lead tag = {<};end tag = {>};n = {2,3,0};out delimiter = {|}{456|123|987}
x = {<results><123><456><234><987>};lead tag = {<};end tag = {>};n = {2,3,0};out delimiter = { };out lead tag = {<};out end tag = {>}{<456> <123> <987>}

Plans to Reorganize Across Texts


Copy the Nth Text

Summery

Copy a text

Description

Copy characters of the n-th text.

Example

x0 = {By};x1 = {processing};x2 = {arrays};n = {1}{processing}

Copy the First Non-Empty Text

Summery

Copy the first non-empty text

Description

Copy characters of the first non-empty text between x0,x1,... . This plan does not cascade refresh requests to its parameters x0,x1,... .

Example

x0 = {};x1 = {};x2 = {instead};x3 = {of}{instead}

Copy Characters From Texts

Summery

Copy from texts

Description

Copy the k-th character of the n[k]-th text for each k. If n[k] is not available, the last value in n is considered. If the k-th character is not available in the n[k]-th text, a[k], or the last character in a when not available, is considered.

Example

x0 = {simple};x1 = {numbers};n = {1};a = {~}{numbers}
x0 = {simple};x1 = {numbers};n = {1,0,0};a = {~}{nimple~}

Stitch

Summery

Stitch texts one-after-another

Description

Combine texts as x0x1... .

Example

x0 = {allows};x1 = { implementing}{allows implementing}

Stitch and Repeat

Summery

Stitch texts one-after-another and replicate

Description

Combine texts by stitching m repeats of each text and replicating the result n times as ((x0×m)(x1×m)...)×n.

Example

x0 = { any};x1 = { form};m = {2};n = {3}{ any any form form any any form form any any form form}

Plans to Make a Text


Replace From Start

Summery

Replace indices counted from start

Description

Replace characters at indices n[k] with a[k] for each k or the last character in a when not available.

Example

x = {quick method to};n = {1,3};a = {x}{qxixk method to}
x = {quick method to};n = {1,3};a = {abcd}{qaibk method to}

Replace From End

Summery

Replace indices counted from end

Description

Replace characters at back-indices n[k] with a[k] for each k or the last character in a when not available.

Example

x = {quick method to};n = {1,3};a = {x}{quick methox xo}
x = {quick method to};n = {1,3};a = {abcd}{quick methob ao}

Replace Ranges From Start

Summery

Replace index ranges counted from start

Description

Replace characters at indices in ranges [from[k], to[k]] with a[k] for each k or the last character in a when not available.

Example

x = {estimate the};from = {1,3};to = {1,4};a = {x}{extxxate the}
x = {estimate the};from = {1,3};to = {1,4};a = {abcd}{eatbbate the}
x = {estimate the};from = {1,3};to = {1,20};a = {x}{extxxxxxxxxx}

Replace Ranges From End

Summery

Replace index ranges counted from end

Description

Replace characters at back-indices in ranges [from[k], to[k]] with a[k] for each k or the last character in a when not available.

Example

x = {estimate the};from = {1,3};to = {1,4};a = {x}{estimatxxtxe}
x = {estimate the};from = {1,3};to = {1,4};a = {abcd}{estimatbbtae}
x = {estimate the};from = {1,3};to = {1,20};a = {x}{xxxxxxxxxtxe}

Replace Tokens

Summery

Replace text tokens

Description

Find token a2k and replace with a2k+1 for each k.

Example

x = {the rabbit and the fox};a0 = {fox};a1 = {tortoise}{the rabbit and the tortoise}
x = {the rabbit and the fox};a0 = {fox};a1 = {tortoise};a2 = {the};a3 = {a}{a rabbit and a tortoise}

Plans to Make Across Texts


Plans to Derive From a Text


Count of Characters

Summery

Count characters in text

Description

Count characters or find the size of text x.

Example

x = {of a multi-degree}{17}

Count of a Token

Summery

Count a text token

Description

Count occurrences of token a in x.

Example

x = {of a multi-degree};a = {multi}{1}
x = {in which the mass and the stiffness matrices};a = {the}{2}

Count of Tokens (by Delimiter)

Summery

Count tokens separated by delimiter

Description

Count tokens separated by delimiter in x.

Example

x = {results;123;456;234;987};delimiter = {;}{5}

Count of Tokens (With Tags)

Summery

Count tokens separated with tags

Description

Count tokens separated with lead tag and end tag in x.

Example

x = {<results><123><456><234><987>};lead tag = {<};end tag = {>}{5}

Find a Token

Summery

Find a text token

Description

Find indices at which token a begins in x.

Example

x = {of a multi-degree};a = {multi}{5}
x = {in which the mass and the stiffness matrices};a = {the}{9,22}

Convert Tokens to Array (by Delimiter)

Summery

Convert tokens separated by delimiter to floating-point values

Description

Collect tokens separated by delimiter in x and convert them to floating-point values as array.

Example

x = {results;123;456;234;987};delimiter = {;}{nan,123,456,234,987}

Convert Tokens to Array (With Tags)

Summery

Convert tokens separated with tags to floating-point values

Description

Collect tokens separated with lead tag and end tag in x and convert them to floating-point values as array.

Example

x = {<results><123><456><234><987>};lead tag = {<};end tag = {>}{nan,123,456,234,987}

Plans to Derive Across Texts


Total Count of Characters

Summery

Count total characters in texts

Description

Count total characters in texts x0,x1,..., that is the sum of text sizes.

Example

x0 = {The };x1 = {eigenvalue problem };x2 = {for}{26}

Plans to Post a Text


Export to Text File

Summery

Export a text to text file

Description

Export text x to a text file at file name. If append is nonempty, the text is appended to the end of the file.

Example

file name = {tests\text.txt};append = {};x = {Texts need to be refreshed!}