DS4PS / cpp-527-fall-2020

http://ds4ps.org/cpp-527-fall-2020/
0 stars 1 forks source link

Lab04 - Part II - Compound Words #24

Open gzbib opened 3 years ago

gzbib commented 3 years ago

Hello @lecy,

I just have a question regarding converting compound words into single words. Should I create my single words like mix & match? Can i do that? For example, i did the below:

1- view (dat) 2- I searched for words randomly and I found new jersey and then I combined them into new_jersey 3- I used ngrams () as well to view some examples of single words

However, can I create whatever combination of words I want? or should I only use the ngrams ()?

lecy commented 3 years ago

Yes, you can create whichever compound words you find useful.

The ngrams are meant to help find suggestions based upon commonly-observed word ordering in your text, but you can use any other combinations that you can justify.

gzbib commented 3 years ago

That's great, thank you Sir,

I have one more question regarding part 2 which is the following:

Add at least ten concepts to your dictionary to convert compound words into single words. Does this mean I have to add 10 different combinations of compound words like above? or have I missed the idea?

lecy commented 3 years ago

Correct