Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.174.399 Times

lib378 0.2

  Date Added: July 07, 2010  |  Visits: 817

lib378

Report Broken Link
Printer Friendly Version


Product Homepage
Download (87 downloads)



lib378 is a library for predictive text input. The API is very simple and provides dictionary autocompletion and both partial and full matching. The project can be used to get text input from input devices with few keys (like cellphones). Example: #include < stdio.h > #include < termios.h > #include < unistd.h > #include "378.h" char mygetch ( void ) { int ch; struct termios oldt, newt; tcgetattr ( STDIN_FILENO, &oldt ); newt = oldt; newt.c_lflag &= ~( ICANON | ECHO ); tcsetattr ( STDIN_FILENO, TCSANOW, ≠wt ); ch = getchar(); tcsetattr ( STDIN_FILENO, TCSANOW, &oldt ); return ch; } l378_DECLARE(); l378_KEYMAP = { [a] = 2, [b] = 2, [c] = 2, [d] = 3, [e] = 3, [f] = 3, [g] = 4, [h] = 4, [i] = 4, [j] = 5, [k] = 5, [l] = 5, [m] = 6, [n] = 6, [o] = 6, [p] = 7, [q] = 7, [r] = 7, [s] = 7, [t] = 8, [u] = 8, [v] = 8, [w] = 9, [x] = 9, [y] = 9, [z] = 9 }; static FILE* l378_dictionary; int main( const int argc, const char *argv[] ) { char c; char* s = NULL; if( !(l378_dictionary = fopen( "compressed.dict", "r" )) ) return -1; printf( " 1 2 3n" ); printf( " C abc defnn" ); printf( " 4 5 6n" ); printf( " ghi jkl mnonn" ); printf( " 7 8 9n" ); printf( " pqrs tuv wxyznn" ); printf( " TAB 0 - n" ); printf( " auto _ nextnn" ); while( n != (c = mygetch()) ) { switch( c ) { //case 0: // break; case t: if( (s = l378_match()) ) printf( "%sr", s ); continue; case -: break; case 1: printf( "ttttr" ); l378_popc(); break; case 2: case 3: case 4: case 5: case 6: case 7: case 8: case 9: l378_pushc( c ); break; default: continue; } if( (s = l378_matche()) ) printf( "%sr", s ); else printf( "%sr", l378_pattern ); } printf( "n" ); fclose( l378_dictionary ); return 0; } // eof Whats New in This Release: - The API was cleaned up. - The compression algorithm was improved. - Optional bz2 support was added. - The cellphone example was updated. - A sample English dictionary was added. - Minor code fixes were made..

Requirements: No special requirements
Platforms: Linux
Keyword: Case Dictionary Fileno Others Predictive Text Printf Stdin Text Text Editing Processing
Users rating: 0/10

License: Freeware Size: 3.07 KB
USER REVIEWS
More Reviews or Write Review


LIB378 RELATED
Programming  -  Embeddable Predictive Text Library b378.32
A C (and JavaScript) library providing predictive text functions. The API is very simple and provides dictionary autocomplete and partial/full matching. Sample cellphone-like examples are included.
3.84 KB  
File Converters  -  Text Editing Assistant 8.2
Text Editing Assistant is a collection of tools that will make your text editing work more easy-Its executable is a stand-alone one while using at the same time Internet Explorer code engine (version 5.5+ is required)-Most of the tools are based...
2.14 MB  
Utilities  -  openWYSIWYG 1.01
openWYSIWYG is a cross-browser WYSIWYG editor packed with every rich-text editing feature you need to make your content management system or custom Web application that much better. openWYSIWYG project easy easy to set up, and you can quickly...
77.82 KB  
Utilities  -  XPontus XML Editor 1.0.0 RC3
XPontus is a free java based XML editor designed towards text editing. XPontus XML Editor aims to provide a free alternative to commercial XML Editors. As XPontus is written in Java it is available for all java enabled operating systems. It has...
17.5 MB  
Desktop Utilities  -  Dasher 4.5.2
Dasher is a zooming predictive text entry system, designed for situations where keyboard input is impractical (for instance, accessibility or PDAs). Dasher is usable with highly limited amounts of physical input while still allowing high rates...
7.6 MB  
Utilities  -  Soothsayer 0.4
Soothsayer is an intelligent predictive text entry platform. Soothsayer exploits redundant information embedded in natural languages to generate predictions. Soothsayers modular and pluggable architecture allows its language model to be extended...
1.3 MB  
Utilities  -  aoeui 1.1.0
aoeui project is a lightweight unobtrusive text editor optimized for the Dvorak keyboard layout. These are the sources for the aoeui, a lightweight and unobtrusive text editing program that is optimized for fast editing by users of the Dvorak...
83.97 KB  
Utilities  -  VietIME 1.3
VietIME is a Java-based Vietnamese input method editor (IME). Enable input of Vietnamese Unicode text in Javas AWT and Swing text components. VietIME uses the input method framework in the Java 2 platform (1.3 or higher) to enable the...
133.12 KB  
Graphics Editors  -  Fotor Photo Editor 2.0.0
Some photos deserve special attention on a full screen. Stretch your photo editing ambitions beyond the limitations of mobile processors. Say goodbye to internet connectivity issues slowing you down. Fotor's powerful desktop photo editor is...
60 B  
Text Editors  -  preview-latex 0.9.1
The purpose of the preview-latex package is to embed LaTeX environments such as display math or figures into Emacs source buffers. By mouse clicking, you can open the original text. After editing, another click will just run the region in...
256 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, UTILITIES
Linux Software  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Utilities  -  Nessconnect 1.0.2
Nessconnect is a GUI, CLI and API client for Nessus and Nessus compatible servers. With an improved user interface, it provides local session management, scan templates, report generation through XSLT, charts and graphs, and vulnerability trending.
819.2 KB  
Utilities  -  Dynamic Power Management 2.6.16
The Dynamic Power Management (DPM) project explores technologies to improve power conservation capabilities of platforms based on open source software. Of particular interest are techniques applicable to running systems, adjusting power parameters...
30.72 KB  
Utilities  -  Ethernet bridge tables 2.4.37.9
Ethernet bridge tables - Linux Ethernet filter for the Linux bridge. The 2.4-ebtables-brnf package contains the ebtables+bridge-nf patch. Be sure to check out the ebtables hp. This site also contains the arptables userspace tool.
40.96 KB  
Utilities  -  SaraB 1.0.0
SaraB works with DAR (Disk ARchive) to schedule and rotate backups on random-access media (i.e. hard drives, CDs, DVDs, Zip, etc. Basically anything except magnetic tapes.) This reduces hassle for the administrator by providing an automatic backup...
20.48 KB  
Utilities  -  Command Not Found 0.2.41
Command Not Found is a program that uses a cache of existing programs and their associated packages to aid users in their day-to-day command-line work. Usage: command-not-found [options] Options: ...
30.72 KB