Open Chinese Convert
0.4.3
A project for conversion between Traditional and Simplified Chinese
|
Node.js API. More...
Go to the source code of this file.
Variables | |
var | path = require('path') |
var | binding = require('../build/Release/binding') |
var | assetsPath = path.resolve(__dirname, '../build/Release') |
var | getConfigPath |
var | OpenCC |
OpenCC | CONVERSION_FAST = 0 |
Default conversion mode. | |
OpenCC | CONVERSION_SEGMENT_ONLY = 1 |
Only converts text into segments. | |
OpenCC | CONVERSION_LIST_CANDIDATES = 2 |
List all candidates of every segment. | |
OpenCC prototype | convert |
OpenCC prototype | convertSync |
OpenCC prototype | setConversionMode |
Node.js API.
Open Chinese Convert
Copyright 2010-2013 BYVoid byvoi d@by void. com
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file opencc.js.
OpenCC prototype convert |
OpenCC prototype convertSync |
var getConfigPath |
var OpenCC |