Jaa


Language Class

Definition

Language related utilities.

public class Language
type Language = class
Public Class Language
Inheritance
Language

Constructors

Language()

Fields

WordBreaker

Regular expression to break a string into words.

Methods

ANormalization(String)

Switch 'a' before consonants and 'an' before vowels.

ArticleOrNone(String)

Test a word for articles or noise.

BuildList(IEnumerable<String>, String, String)

Given a list of string values generate a proper English list.

CamelCase(String)

Break a string into words based on _ and case changes.

GenerateTerms(String, Int32)

Generate regular expressions to match word sequences in original string.

NoiseResponse(String)

Test to see if a word can be ignored in a resposne.

NoiseWord(String)

Test to see if a word is all noise.

NonNoiseWords(IEnumerable<String>)

Test words to see if they are all ignorable in a response.

NonWord(String)

Test to see if word is all punctuation or white space.

Normalize(String, CaseNormalization)

Normalize a string.

OptionalPlurals(IEnumerable<String>)

Make sure all words end with an optional s.

Resources()

Return language specific resources for the current culture.

WordBreak(String)

Break input into words.

Applies to