using System; using System.Collections.Generic; using System.IO; using M17N; using M17N.Core; public class Test { public static void Main () { M17n.debug = true; MDatabase.ApplicationDir = "/usr/local/share/m17n"; MDatabase.Tag tag = new MDatabase.Tag (MSymbol.Of ("input-method"), MSymbol.t, MSymbol.Of ("unicode")); while (true) { Console.Write ("mdb> "); string str = Console.ReadLine (); if (str == null || str == "quit" || str == "exit") break; Console.WriteLine (MDatabase.Find (tag)); } } }