@@ -335,7 +335,7 @@ impl PyMorpheme {
335335
336336 /// Returns the dictionary form.
337337 #[ pyo3( text_signature = "(self, /) -> str" ) ]
338- fn dictionary_form < ' py > ( & ' py self , py : Python < ' py > ) -> PyResult < Bound < PyString > > {
338+ fn dictionary_form < ' py > ( & ' py self , py : Python < ' py > ) -> PyResult < Bound < ' py , PyString > > {
339339 Ok ( self
340340 . morph ( py)
341341 . get_word_info ( )
@@ -345,7 +345,7 @@ impl PyMorpheme {
345345
346346 /// Returns the normalized form.
347347 #[ pyo3( text_signature = "(self, /) -> str" ) ]
348- fn normalized_form < ' py > ( & ' py self , py : Python < ' py > ) -> PyResult < Bound < PyString > > {
348+ fn normalized_form < ' py > ( & ' py self , py : Python < ' py > ) -> PyResult < Bound < ' py , PyString > > {
349349 Ok ( self
350350 . morph ( py)
351351 . get_word_info ( )
@@ -355,7 +355,7 @@ impl PyMorpheme {
355355
356356 /// Returns the reading form.
357357 #[ pyo3( text_signature = "(self, /) -> str" ) ]
358- fn reading_form < ' py > ( & ' py self , py : Python < ' py > ) -> PyResult < Bound < PyString > > {
358+ fn reading_form < ' py > ( & ' py self , py : Python < ' py > ) -> PyResult < Bound < ' py , PyString > > {
359359 Ok ( self
360360 . morph ( py)
361361 . get_word_info ( )
@@ -366,7 +366,7 @@ impl PyMorpheme {
366366 /// Returns sub-morphemes in the provided split mode.
367367 ///
368368 /// :param mode: mode of new split.
369- /// :param out: write results to this MorhpemeList instead of creating new one.
369+ /// :param out: write results to this MorphemeList instead of creating new one.
370370 /// See https://worksapplications.github.io/sudachi.rs/python/topics/out_param.html for
371371 /// more information on output parameters.
372372 /// Returned MorphemeList will be invalidated if this MorphemeList is used as an output parameter.
@@ -444,7 +444,7 @@ impl PyMorpheme {
444444
445445 /// Returns the list of synonym group ids.
446446 #[ pyo3( text_signature = "(self, /) -> List[int]" ) ]
447- fn synonym_group_ids < ' py > ( & ' py self , py : Python < ' py > ) -> PyResult < Bound < PyList > > {
447+ fn synonym_group_ids < ' py > ( & ' py self , py : Python < ' py > ) -> PyResult < Bound < ' py , PyList > > {
448448 let mref = self . morph ( py) ;
449449 let ids = mref. get_word_info ( ) . synonym_group_ids ( ) ;
450450 PyList :: new ( py, ids)
0 commit comments