String Processing in Swift


(Muhammad Tahir Vali) #1

Hello,

Im interested in learning how to do string processing in Swift. Bare with
me as I am a college student. Ive done basic regex with java and Its still
confusing to me. Ive had good amount of practice with swift and
programming.

Whats the ideal approach to mastering string processing and mastering it in
Swift? Yes, I know I can read string related swift files in the standard
lib GitHub but one usually takes a certain approach to gain a conceptual
understanding. Im minoring in Computational Linguistics so I want to apply
my knowledge in that field using swift.

Thank you for your help.

···

--
Best Regards,

Muhammad T. Vali


(Jacob Bandes-Storch) #2

Moving to swift-users. (swift-dev to BCC; swift-dev is for compiler
development.)

It's also important to know about the methods available on NSString, which
are exposed on the String type when you import Foundation:
https://developer.apple.com/reference/foundation/nsstring

You might also be interested in NSLinguisticTagger:
http://nshipster.com/nslinguistictagger/

···

On Thu, Dec 29, 2016 at 11:17 AM, Muhammad Tahir Vali via swift-dev < swift-dev@swift.org> wrote:

Hello,

Im interested in learning how to do string processing in Swift. Bare with
me as I am a college student. Ive done basic regex with java and Its still
confusing to me. Ive had good amount of practice with swift and
programming.

Whats the ideal approach to mastering string processing and mastering it
in Swift? Yes, I know I can read string related swift files in the standard
lib GitHub but one usually takes a certain approach to gain a conceptual
understanding. Im minoring in Computational Linguistics so I want to apply
my knowledge in that field using swift.

Thank you for your help.

--
Best Regards,

Muhammad T. Vali

_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev


(Muhammad Tahir Vali) #3

Thank you! Apologies for the non-compiler related email

···

On Thu, Dec 29, 2016 at 2:59 PM, Jacob Bandes-Storch <jtbandes@gmail.com> wrote:

Moving to swift-users. (swift-dev to BCC; swift-dev is for compiler
development.)

It's also important to know about the methods available on NSString, which
are exposed on the String type when you import Foundation:
https://developer.apple.com/reference/foundation/nsstring

You might also be interested in NSLinguisticTagger: http://nshipster.com/
nslinguistictagger/

On Thu, Dec 29, 2016 at 11:17 AM, Muhammad Tahir Vali via swift-dev < > swift-dev@swift.org> wrote:

Hello,

Im interested in learning how to do string processing in Swift. Bare with
me as I am a college student. Ive done basic regex with java and Its still
confusing to me. Ive had good amount of practice with swift and
programming.

Whats the ideal approach to mastering string processing and mastering it
in Swift? Yes, I know I can read string related swift files in the standard
lib GitHub but one usually takes a certain approach to gain a conceptual
understanding. Im minoring in Computational Linguistics so I want to apply
my knowledge in that field using swift.

Thank you for your help.

--
Best Regards,

Muhammad T. Vali

_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev

--
Best Regards,

Muhammad T. Vali