Assaf Solomovitch Tsahi Talmor


Phoneme::AppProfile Class Reference



Download 266.03 Kb.
Page5/6
Date30.04.2017
Size266.03 Kb.
#16751
1   2   3   4   5   6

Phoneme::AppProfile Class Reference


Classs describes a typical profile of application that phoneme leaches onto so phoneme can have different behaviours to different applications.

Public Member Functions


  • AppProfile ()

Constructor - allocate list and populate with default hotkey.

  • void addHotkey (String k)

add hotkey to this profile

  • bool remHotKey (String k)

Remove a key from this profile's hotkey list.

  • List< Keys > getHotKeys ()

gets the list of hotkeys associated with current profile

Public Attributes


  • List< Keys > m_hotKeysList

list of all hotkey of current application with this profile

Detailed Description


Classs describes a typical profile of application that phoneme leaches onto so phoneme can have different behaviours to different applications.

Constructor & Destructor Documentation

Phoneme::AppProfile::AppProfile () [inline]


Constructor - allocate list and populate with default hotkey.

Member Function Documentation

void Phoneme::AppProfile::addHotkey (String k) [inline]


add hotkey to this profile
Parameters:

k String representation of hotkey to add

bool Phoneme::AppProfile::remHotKey (String k) [inline]


Remove a key from this profile's hotkey list.
Parameters:

k String representation of key to remove
Returns:

true iff succeeded removing hotkey

List Phoneme::AppProfile::getHotKeys () [inline]


gets the list of hotkeys associated with current profile
Returns:

array of all keys, null if none exist

Member Data Documentation

List Phoneme::AppProfile::m_hotKeysList


list of all hotkey of current application with this profile
The documentation for this class was generated from the following file:

  • My Documents/My Courses/Software-Project/The New Project/Phoneme/Phoneme/AppProfile.cs

Phoneme::Heb2EnMap Class Reference

Public Member Functions


  • Heb2EnMap ()

Constructor: Initialize this instance.

  • String translate (String str)

Translate one Latin unicode character into one hebrew unicode character.

Detailed Description


Class repressents mapping of Hebrew to English characters

Constructor & Destructor Documentation

Phoneme::Heb2EnMap::Heb2EnMap () [inline]


Constructor: Initialize this instance.

Member Function Documentation

String Phoneme::Heb2EnMap::translate (String str) [inline]


Translate one Latin unicode character into one hebrew unicode character.
Parameters:

str Latin unicode char
Returns:

String representation of unicode char
The documentation for this class was generated from the following file:

  • My Documents/My Courses/Software-Project/The New Project/Phoneme/Phoneme/Heb2EnMap.cs

Phoneme::HebrewTranslator Class Reference


Class represents Hebrew translator, containing all Hebrew specic rules and regulations, a DS of hebrew wordlist, a mapping of hebrew-latin characters, and predefined, compulsory translations of certain words. Implements ITranslatable - gets a string and translates it to Hebrew.

Inherits Phoneme::ITranslatable.




Public Member Functions


  • HebrewTranslator (StringTrie trie)

Constructor - initialise DS, mapping and predefined translations.

Public Attributes


  • const String wordlistFilename = "hebrewWordList.txt"

name of file which holds the hebrew word list

  • StringTrie m_trie = null

Data structure of Hebrew feasible words to search in, in case of translation ambiguity.

Detailed Description


Class represents Hebrew translator, containing all Hebrew specic rules and regulations, a DS of hebrew wordlist, a mapping of hebrew-latin characters, and predefined, compulsory translations of certain words. Implements ITranslatable - gets a string and translates it to Hebrew.

Constructor & Destructor Documentation

Phoneme::HebrewTranslator::HebrewTranslator (StringTrie trie) [inline]


Constructor - initialise DS, mapping and predefined translations.
Parameters:

trie DS of hebrew words, only referenced here

Member Data Documentation

const String Phoneme::HebrewTranslator::wordlistFilename = "hebrewWordList.txt"


name of file which holds the hebrew word list

StringTrie Phoneme::HebrewTranslator::m_trie = null


Data structure of Hebrew feasible words to search in, in case of translation ambiguity.
The documentation for this class was generated from the following file:

  • My Documents/My Courses/Software-Project/The New Project/Phoneme/Phoneme/HebrewTranslator.cs

Phoneme::IPhoneticTranslatorUserInteraction Interface Reference


Interface to any form/ui module which.

Inherited by Phoneme::Phoneme.



Public Member Functions


  • string doUI (List< StringBuilder > possibleTranslations, String currentWord)

Function displays to user all possibilities, and forces him to decide on correct choice, and than returns its string representation.

Detailed Description


Interface to any form/ui module which.

Member Function Documentation

string Phoneme::IPhoneticTranslatorUserInteraction::doUI (List< StringBuilder > possibleTranslations, String currentWord)


Function displays to user all possibilities, and forces him to decide on correct choice, and than returns its string representation.
Parameters:

possibleTranslations List of feasible possibilites from which the user should choose and decide

currentWord The ambiguous Latin string
Returns:

The user's decision
The documentation for this interface was generated from the following file:

  • My Documents/My Courses/Software-Project/The New Project/Phoneme/Phoneme/IPhoneticTranslatorUserInteraction.cs


Download 266.03 Kb.

Share with your friends:
1   2   3   4   5   6




The database is protected by copyright ©ininet.org 2024
send message

    Main page