摘要 |
According to an embodiment, a shaping device includes an acquiring unit, an extracting unit, first and second calculators, a determining unit, a shaping unit, and a display unit. The acquiring unit is configured to acquire strokes handwritten by a user. The extracting unit is configured to extract multiple combinations of strokes. The first calculator is configured to calculate a first likelihood representing a probability that each combination related to a target graphic. The second calculator is configured to calculate a second likelihood representing a probability that each combination related to an incomplete shape. The determining unit is configured to determine whether there is a first combination having first likelihood not less than a first threshold and the second likelihood not more than a second threshold. The shaping unit is configured to shape the strokes into the target graphic. The display unit is configured to display a result of shaping. |