Partager via


WordSegmentFinder Constructors

Definition

Overloads

WordSegmentFinder(ICharSequence, ULocale)

Constructs a WordSegmentFinder instance for the specified text which uses the provided locale to determine word boundaries.

WordSegmentFinder(IntPtr, JniHandleOwnership)
WordSegmentFinder(String, ULocale)

WordSegmentFinder(ICharSequence, ULocale)

Constructs a WordSegmentFinder instance for the specified text which uses the provided locale to determine word boundaries.

[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;Landroid/icu/util/ULocale;)V", "", ApiSince=34)]
public WordSegmentFinder (Java.Lang.ICharSequence text, Android.Icu.Util.ULocale locale);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;Landroid/icu/util/ULocale;)V", "", ApiSince=34)>]
new Android.Text.WordSegmentFinder : Java.Lang.ICharSequence * Android.Icu.Util.ULocale -> Android.Text.WordSegmentFinder

Parameters

text
ICharSequence

text to be segmented

locale
ULocale

locale used for analyzing the text

Attributes

Remarks

Constructs a WordSegmentFinder instance for the specified text which uses the provided locale to determine word boundaries.

Java documentation for android.text.WordSegmentFinder.WordSegmentFinder(java.lang.CharSequence, android.icu.util.ULocale).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

WordSegmentFinder(IntPtr, JniHandleOwnership)

protected WordSegmentFinder (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Text.WordSegmentFinder : nativeint * Android.Runtime.JniHandleOwnership -> Android.Text.WordSegmentFinder

Parameters

javaReference
IntPtr

nativeint

Applies to

WordSegmentFinder(String, ULocale)

[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;Landroid/icu/util/ULocale;)V", "", ApiSince=34)]
public WordSegmentFinder (string text, Android.Icu.Util.ULocale locale);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;Landroid/icu/util/ULocale;)V", "", ApiSince=34)>]
new Android.Text.WordSegmentFinder : string * Android.Icu.Util.ULocale -> Android.Text.WordSegmentFinder

Parameters

text
String
locale
ULocale
Attributes

Applies to