1.0.7 • Published 9 months ago

react-hanzi-lookup v1.0.7

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

react-hanzi-lookup

HanziLookupJS, build for React. React functional component for Chinese handwriting recognition. Easy set-up.

Let your users write on a canvas for real-time prediciton of Chinese character.

Getting Started

To begin using this component, follow these steps:

1. Install the library:

npm i react-hanzi-lookup

2. Import Hanzi in the React component and render:

import {Hanzi} from 'react-hanzi-lookup'

3. Instantiate a Hanzi component:

<Hanzi handleChange={(predictedCharacters: string[]) => {
    // Handle predictedCharacters array here
}} />

Contributing

Contributions are welcome! If you'd like to contribute to the project, feel free to fork the repository and submit a pull request.

Credits

Thank you to gugray for the non-React specific version of Hanzi Lookup. https://github.com/gugray/HanziLookupJS

License

This project is licensed under the MIT License.

1.0.7

9 months ago

1.0.6

9 months ago

1.0.5

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago