haven-jeon / PyKoSpacing

Automatic Korean word spacing with Python
GNU General Public License v3.0
397 stars 118 forks source link

Can the model output probability? #53

Closed treya-lin closed 5 months ago

treya-lin commented 1 year ago

Can we get the probability for the spacing results from the model so that I can maybe manually check the results with lower probability? Thanks a lot!!

haven-jeon commented 1 year ago

This line can be a clue for your request.

https://github.com/haven-jeon/PyKoSpacing/blob/5bb0b3e8f62c1936a430745297821a9ecd78beb1/pykospacing/kospacing.py#L70